Regular ExpressionsWhen you should NOT use Regular Expressions

Remarks

Because regular expressions are limited to either a regular grammar or a context-free grammar, there are many common misuses of regular expressions. So in this topic there are a few example of when you should NOT use regular expressions, but use your favorite language instead.

Some people, when confronted with a problem, think:
“I know, I'll use regular expressions.”
Now they have two problems.

— Jamie Zawinski