I often quote Jamie Zawinski for his brilliant line on usage of regular expressions:
Some people, when confronted with a problem, think
“I know, I'll use regular expressions.” Now they have two problems.
Despite this, I still use them to within an inch of their life because, when used correctly, they are incredibly useful; across everything from find/replace in a document or IDE, form…