Regular Expressions When you should NOT use Regular Expressions

30% OFF - 9th Anniversary discount on Entity Framework Extensions until December 15 with code: ZZZANNIVERSARY9


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

Got any Regular Expressions Question?