Here is a very good guide to regex -- Search and Replace on steroids.
http://www.regular-expressions.info
To start with you may need to experiment, but once you get the hang of it, it makes fixing common mistakes much, much easier.
Have you ever searched for something and used the wildcard? That is one simple basic regex.