Javascript tricks: Regular Expression Tester

A while back we posted here about Rubular. My cohort called it the last ruby regex tool you will need. And he was right, it’s the last *ruby* regex tool. I’ve already spent too much time in the Firefox console playing with regular expressions just to figure out the right matchers. It was time to find a better tool for the job.

The voice in my head said, “Stop your whining, and write that sucker.”

And so I did.

Javascript Regex Playground is now available for your regular expression testing needs. Give it a regex, a test string and it’ll show you the matches. Simple and straight forward. The code is available on github if you want to pull your own copy.


2 thoughts on “Javascript tricks: Regular Expression Tester

  1. Hah, I was just looking for a js equiv of rubular today. Good timing. This works great.

    Only feedback: How about bigger input fields like in rubular. Sometimes my regexen and strings are substantial.

    Nice work.

  2. Not surprisingly, that addition was pretty easy. While i was in there, i also added the modifiers so you can add case-insensitivity matching.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s