I have been searching all over the internet for examples of how this is done, I just must be typing the wrong keywords in.
Check out perlre. This will explain a bunch of regular expression characters that can be confusing.
Or, if you're really interested, go find a copy of O'Reilly's great Regular Expressions book.
UPDATE: added quote so that this doesn't look like an RTFM post. :)
In reply to Re: String Validation
by shandor
in thread String Validation
by Trihedralguy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |