I made a php regex tester.. What do you think?

Any questions involving matching text strings to patterns - the pattern is called a "regular expression."

Moderator: General Moderators

Post Reply
vapoorize
Forum Newbie
Posts: 22
Joined: Mon Dec 17, 2007 5:35 pm

I made a php regex tester.. What do you think?

Post by vapoorize »

Started out as a quick tester that updates matches live via ajax, then kept adding more features. Highlighting the substrings was a tough one, I've haven't seen any online regex tester that can highlight the substrings. If you have let me know :)
Next I want to highlight the substring part of the regex pattern (in the actual pattern) so you can easily correlate the haystack substring colors to the regex pattern highlights, although its not too hard as it is now :)

I added some samples and here's a nice one:
http://nancywalshee03.freehostia.com/re ... d=x3ip8kiq
User avatar
jimthunderbird
Forum Contributor
Posts: 147
Joined: Tue Jul 04, 2006 3:59 am
Location: San Francisco, CA

Re: I made a php regex tester.. What do you think?

Post by jimthunderbird »

Great work! I will include it into my development toolkit:)
Post Reply