Tuesday, 18 February 2014

Cool Tip of the day: Java regex tester

There is something of the dark-arts about REGEX that after years of using it I just can't get into my head.

So I was very pleased to find this nice little site:

http://java-regex-tester.appspot.com/

It has the options of defining the text and the REGEX in a very simple and immediate way.

A second and more in depth tester can be found at:

http://www.regexplanet.com/

This version allows you to build RegEx for many code types inclding Java.

So if you use it with http://txt2re.com/ which gives you the option of pasting your text into the site and picking the bit you want ... you soon have your regex!

Have fun!

No comments:

Post a Comment