Skip to content

Instantly share code, notes, and snippets.

@rmacy
Forked from ehaughee/regexres.md
Created November 15, 2012 19:43
Show Gist options
  • Save rmacy/4080768 to your computer and use it in GitHub Desktop.
Save rmacy/4080768 to your computer and use it in GitHub Desktop.
Regular Expression Resources

http://gskinner.com/RegExr/

  • Good match and replace tester, requires flash though :/

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://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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment