About

If you ever had to write regular expressions, you know it takes some patience. There are verious websites and tools to assist you and one tool I particularly like is grex.

The cool thing about grex is that it allows you to specify a few examples you want your regex to match and it gives you back a regex that matches all of them - pretty clever!

Still, it can't yet read your mind and you might want to adjust the generated regex to be as specific or as general you need for your use case. This page allows you to do this:

  1. Enter your examples, each at a different line.
  2. Apply any options, as required.
  3. Your regex will be generated.
  4. You can adjust it and make sure it still matches all your examples

You can see the code for this app on GitHub.

Made by Maciej Gryka