Brilliant wizard for regular expressions

This is something for all the lazy programmers that are not able to write down regular expressions like their mother tongue (I heard there are some…)

http://txt2re.com/

It’s quite easy:

  1. enter the string you want to examine, for example “regexp’ing in the 90ies was fun, but now it is a pain in the ass!”
  2. this string gets enriched with many links for the different sections that are possible to search for. If you click on the link “int” beneath the number 90, this number gets extracted in a variable.
  3. as a result you get the code in your preferred language (PHP, perl, Javascript, …): Et voilà!

Brilliant tool, especially when you are wasting too much time in “rexexp-try-and-error-hell”.