in reply to String Validation

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. :)