Check your regular expressions

Regular expressions are one of the many useful things I discovered at FSFE.

Here is a useful website to check if your expression will indeed do what you expect them to do. Good tool to learn.