Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Regular Expression Resources

http://www.regexr.com/

  • Great match and replace tester.

http://regex101.com/

  • Haven't used this one much but it looks nice.

http://www.regexplanet.com/

  • This resource has online RegEx testers for many languages

http://txt2re.com/

  • I personally never use this site, but it has an interesting way of visualizing the matching so it may be helpful in learning

http://derekslager.com/blog/posts/2007/09/a-better-dotnet-regular-expression-tester.ashx

  • A good .Net tester. Actually uses the .Net regex library so you're pretty much assured compatibility with .Net's regex libs.

http://www.rexv.org/

  • This one is probably my favorite, but it only uses the POSIX, PCRE, Perl, Python, JS, and node.js regex libs. I typically use it for Python, PHP (PCRE if I remember correctly), and Javascript.

http://regexpal.com/

  • This is a simple regex tester, nice for quickly testing a regex against some data.

http://refiddle.com/

  • This is an awesome website. You can type out a regular expression, give it seed data, and then share that exact scenario with someone so they can either learn from what you did, or help you debug your expression. Really useful if you need to send a regex with some seed data to someone to ask for help or explain something. You can also do, "unit tests" of sorts where you can give it things that should not match, and things that should, and it will tell you if your regex "passes" your "tests".

http://www.regexper.com/

  • This is a cool link that will help visualize a Javascript regular expression.

http://www.rubular.com/

  • This is a Ruby regular expression editor

http://scriptular.com/

  • Interactive (as you type) javascript regular expression tester

http://regex.learncodethehardway.org/book/

  • This is a book that I have not personally read, but is probably a really good reference resource for regular expressions in general.

http://www.pyregex.com/

  • Python regular expression tester
@Xeoncross

This comment has been minimized.

Copy link

Xeoncross commented Sep 19, 2012

If you rename this to regexres.md you will have word-wrapping and markdown support instead of long lines.

@ehaughee

This comment has been minimized.

Copy link
Owner Author

ehaughee commented Nov 1, 2012

@Xeoncross: Done. Thanks for the heads up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.