Regular Expressions are a syntax or language of its own kind of. It is a system of pattern matching. Maybe this will help:
http://www.fawcette.com/vsm/2003_01/...na/default.asp