Online Regex Tester

Ever wanted to test a regex (regular expression) quickly and easily? Now you can!

Testing Regular Expressions

If you’ve ever wanted to quickly test a regular expression (regex) your options are limited.

  • You can create a PHP script and use preg_match()
  • You can set up an offline web page and use JavaScript
  • You can download regex testing software

Test Your Regex Online!

I recently found a Flash-based website that allow you to test regular expressions using a variety of options and it has proved to be invaluable when I need to quickly check whether a regex will work!

Enjoy!

http://gskinner.com/RegExr/

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

Note: if you want to post PHP or ASP code including the opening tags (<?php etc...) you must use the HTML entity for the left chevron (<) - &lt; - or your code will be stripped out!