Have a look at perlrequick:character classes , you will come to know to how to write character class in Perl.
In reply to Re: regex square brackets exceptions
by Nikhil Jain
in thread regex square brackets exceptions
by raybies
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |