Visualize which regular expression will match a given test string (Cocoa).
Overview
Reggy is a small OS X cocoa/objective-c application to very quickly visualize what a given regular expression will match given a test string. It will also tell you if you have errors in your regular expression.
What's new in Reggy
Version 1.3:
Added preference to apply sub-match/capture group coloring: each match or capture group gets a slightly different shade of color --- especially nice for nesting matches
Added preference to automatically use the clipboard contents on startup for the regular expression and/or the testing string
Added menu items to paste the clipboard directly into either the regular expression (Command+Shift+V) or the testing string (Command+Option+V)
Added a new and improved Reggy icon (Leopard Compatible/Resolution Independent)
Added help link for regular expression syntax preference (goes to wikipedia)
Updated regular expression engine
Simplified preferences window
Join over 500,000 subscribers.
Subscribe for our newsletter with best Mac offers from MacUpdate.
Outstanding app!
Just getting into regexes and they were doing my head in. Reggy is brilliant in that it dynamically shows you how your regex will work (or not work :-) with your sample string.
If you're struggling with regular expressions not quite working the way you expect, this is an excellent way to de-mystify the magic.
Thanks Sam!
great app, btw app is crashing when I try this match:
regexp:
([^\s\W]?|[^\s\W][\._-]?)*@{1}([a-z0-9_-]+)?[a-z0-9_-]?(\.?[a-z0-9_-]?{2,})+
string to match:
myname-my.org.co#@mail.co.uk
it doesn't crash when string is:
myname-my.org.co@mail.co.uk
as soon as I add a special character like '#' or any one app crash
Like
Version 1.3
2 answer(s)
Wmwm
25 April 2009
it might be that my regexp is not valid also.... but in that case app should warning you...
Like
Version 1.3
LS24
16 June 2017
it does not crash on myname-my.org.co#@mail.co.uk ... it just takes a bit longer to match (10 sec on my mid 2015 MBP) ... maybe the pattern has to much complexity.
Even better than before. Nice to see the developer responds to feedback and added colors for the matching groups (although a more visible difference would be nice *hint, hint*).
Like (1)
Version 1.3
1 answer(s)
McBrown
21 August 2012
I agree, The matched patterns are difficult to tell apart. Maybe a rainbow color-table or something would have been nice. (a bit like Apple does it with the bar-charts in Keynote)
Really nice interface that makes it a breeze to test your regex before using them. I wish this app existed when I first learned regex! It would be perfect if you could somehow save them though, like a little itunes style column on the left with your "regex library" but it does its job perfectly as it is... Just nitpicking here...
Outstanding app!
Just getting into regexes and they were doing my head in. Reggy is brilliant in that it dynamically shows you how your regex will work (or not work :-) with your sample string.
If you're struggling with regular expressions not quite working the way you expect, this is an excellent way to de-mystify the magic.
Thanks Sam!
This is a very great software! Since i haven't known of Regular Expressions before 3 weeks or so.
I found this Program, and i like it.
Everytime when i think of ... "hmm, maybe a RegEx could do the job?! Where's my Reggy?"
Very nifty way to learn & practice regexes with!! 1-trick pony app with a simple interface, no bloat, no extras; just the way I want it.
Could be nice, like previous speaker mentioned, with some sort of color distinctions for different matches... maybe.
Nice, small, unobstrusive. Does what it says. Good start! Showing matching groups with different colors would be superbe! And using the search buffer (apple-e) and the clipboard to autofill the regex and the searchtext would be even better!
10 Reggy Reviews
Rate this app:
Most helpful