01.30.09

New Ajaxified Regular Expression Tester

Posted by ryan in php


jack-white.jpg Regular Expression Tester

In the face of gross looking and slow websites that offer regular expression testers, I decided to do myself a small favor and create my own. The result is a few hours of nerding out, listening to the Raconteurs, and brewing coffee. Happy Friday!

The tester is sleek, simple and fast as it runs via ajax. Everything is run through the preg_match function and output of the $matches array is given. To be complete, I print out the PHP code necessary to run the search. I've also added a few examples, and if you have and other good suggestions, feel free to drop them here.

Thanks for the shares!
  • StumbleUpon
  • Sphinn
  • del.icio.us
  • Facebook
  • TwitThis
  • Google
  • Reddit
  • Digg
  • MisterWong