I've been learning Regular Expressions lately. I must say, they are very nifty. Knowing them will save you alot of time if you're trying to match a word or string of characters from an outside source. I found this page that seems to be pretty easy to understand and geared towards those that are learning regex's.
If you are learning, try using them in vi or awk.