From: Brian Candler Date: 2012-04-05T06:36:10+09:00 Subject: Re: regularexpression for check specialchars Try looking at character classes [[:print:]] [[:graph:]] and their negations [^[:print:]] [^[:graph:]] -- Posted via http://www.ruby-forum.com/.