in reply to Re: Regular expression
in thread regular Expression

That doesn't really do what the original poster asked for tho' does it? Ascii characters are those with a character code between 0 and 128. Your code only checks for character codes between 33 and 126 (plus a few whitespace characters).

To match _all_ non-ascii characters you really need something like:

/[^\x00-\x7f]/
--
<http://www.dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg