Once you get the hang of regular expressions, you'll find them invaluable. The trick is to start small - I'll show you how.
The Internet has many regex resources, allowing you to learn and practice online – but here are a few pointers to get you started: Characters in square brackets [LIKETHIS] are 'character classes'.