Regex Testbed

Description:

The regex testbed was written mainly as a means for improving my regular expression skills but has since been used for various regex based validation techniques such as three or six digit hexedecimal color codes (with or without a leading hash character), parsing xml elements and emote string/image replacement. Whilst the scripting behind it is relatively simple, the functionality is provides is pretty cool and as a plus, the interface is clean, clear and easy to use. The testbed uses sessions to remember previous regex masks should you need to revert to a previous incarnation which also makes use of javascript to easily populate the appropriate form field.

I enjoyed writing this script and have thoroughly enjoyed using it which has prompted me to include the php source for others to use. Hopefully it will prove handy for those searching for something similar.

Technologies:

PHP, Javascript, Regex