About RegexLand

Hi, I’m Benjamin, and I write lots of regular expressions on RegexLand.com. Here’s why…

There’s a popular saying that goes:

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

 ~ Generally attributed to Jamie Zawinski ~

This quote seems to imply that writing a regular expression is usually a more difficult problem than the problem you’re trying to solve. It’s sad that many people should think this way.

Regular expressions is a language, just like any other language we speak. One often start off by learning a few simple expressions like saying “Hello” and “world”. You learn a few more words and manage to get a sentence going. Practice makes perfect. But just like with any other language, once you fall out of practice, you forget how it works.

I’ve created RegexLand to be a one-stop-shop that not only provides a treasure-trove of various common regular expressions, but also explains how they work. In this way, I’ll quickly be able to find the expression I need, plus a good explanation that helps me get back up to speed so that I can adapt and reuse it.

My hope is that RegexLand will do the same for you.

Why Am I Qualified To Teach This?

I’m a self-taught programmer with a love for automating things with code. My biggest regex achievement is probably the fact that I coded the regular expression syntax highlighting feature that you see on this website, using regular expressions! All the syntax highlighting is done by regex, not me…

And just like you, I’m learning as I go and discovering new things about regex every day. Perhaps that’s why I’m able to explain it to you in layman’s terms.

I craft every regular expression and test it thoroughly using various online tools before writing about it on RegexLand. If you find any discrepancies, please drop me a line in the comments on the appropriate page, so we can learn together.

More About Myself

I’m a proudly South African citizen, living in a bustling city with my beautiful wife. During the day, I keep myself busy as a civil engineer, and once night falls, I become a regex engineer.

I do one thing every day to move me closer to my dreams, and I do it to the best of my ability.

~ Darren Rowse, paraphrased ~