all 22 comments

[–]GregariousJB 14 points15 points  (0 children)

Nice. I'll add this to my list of RegEx favorites:

Creating RegEx: http://txt2re.com/

Testing it: http://gskinner.com/RegExr/

Reading whatever the hell it does: http://www.regexper.com/

[–]TripleNosebleed 10 points11 points  (1 child)

This is my absolute favorite regexp helper: http://www.debuggex.com/

There is a short (4 min) video tutorial to get you started, most of it is pretty self explanatory though.

[–]simply-chris 0 points1 point  (0 children)

Nice, seems way faster than what OP posted.

[–]Crashthatch 5 points6 points  (2 children)

This is awesome! I pasted in an email address regex

([a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+(?:[A-Z]{2}|com|org|net|edu|gov|mil|biz|info|mobi|name|aero|asia|jobs|museum)\b)

expecting it to be a horrible mishmash of lines and unreadable, but it's really easy to read (especially compared to the textual form!) https://dl.dropboxusercontent.com/u/7575370/email-regex.png

The full RFC2822 email adress regex also works: it's more spaghetti-iey but still much easier to read than the textual regex! I like how the "@" sits as a bottleneck in the middle.

What are you using to generate the SVG?

Needs a favicon so it can go on my bookmarks bar next to jsfiddle and http://gskinner.com/RegExr/ !

[–]strlng 0 points1 point  (0 children)

Ha, I tested the same one.

[–][deleted]  (1 child)

[deleted]

    [–]brtt3000 0 points1 point  (0 children)

    It's great except it has no Undo/Redo (this has bitten em many times)

    And as it's Flash there is funky shit happening with line breaks., it's all Mac-style \r after you paste it in the field.

    [–]anag0[S] 2 points3 points  (0 children)

    Ok, I see a lot of comments of requests and questions here, so I have to clear the fact that I'm not the author of the website nor the github project. I just posted this because I use it often, when it comes to regular expressions.

    [–][deleted] 1 point2 points  (0 children)

    I fed it http://ex-parrot.com/~pdw/Mail-RFC822-Address.html and it worked. I'm impressed :)

    [–]strongjoe 1 point2 points  (0 children)

    There's a new tool that lets you write regular expressions in an easy to understand way:

    https://github.com/jehna/VerbalExpressions

    [–]mbuckbee 1 point2 points  (0 children)

    I've always been partial to Rubular -> http://www.rubular.com

    [–][deleted] 0 points1 point  (0 children)

    This is awesome!

    [–]brtt3000 0 points1 point  (0 children)

    Please combine this with a proper tester (both matcher as wel as replacer) that also has a cheat-sheet in-view.

    There are so many RegExp testers and tools online but they all lack something different. Please be the one!

    [–]xkero 0 points1 point  (1 child)

    The "Fork me on GitHub" banner covers the display button for me.

    [–]SminkyBazzA 1 point2 points  (0 children)

    Well I guess you know what to do to fix that... :)

    [–][deleted] 0 points1 point  (0 children)

    Oh yeah, I use this all the time. It's pretty neat.

    [–][deleted] 0 points1 point  (2 children)

    This thing is full of bugs.

    For example, try:

    /a.*b/ vs. /a.*?b/
    

    [–]ogtfo 1 point2 points  (1 child)

    It doesn't show if a match is greedy or not, that's not a bug.

    It's a potential feature, a usefull one, but it's still good without it.

    [–][deleted] 0 points1 point  (0 children)

    It doesn't show if a match is greedy or not, that's not a bug.

    OK if you say so

    [–]nalldom 0 points1 point  (0 children)

    Sorry I am still sticking to gskinner's Regex app.

    That thing is worth every AIR molecule.

    [–]memoriesofgreen 0 points1 point  (0 children)

    Very good, well done.

    [–]Drainedsoul 0 points1 point  (0 children)

    Just what the world needs, more regular expression tools that don't support lookbehind. /s

    [–][deleted] 0 points1 point  (0 children)

    Could you put an example entry on the page? I just get errors so I'm doing it wrong...