in reply to A regular expression (or regex)

See: http://perldoc.perl.org/perlop.html#Regexp-Quote-Like-Operators

PS: When posting use <p>Text</p> tags for paragraph text and <c>my $code</c> for code.

There are lots of links right below the box you type into explaining how to format your post; they're quite handy.