Hacker News new | ask | show | jobs
by chrisan 3233 days ago
This is a paid app, but the debugger on this has been my favorite

https://www.regexbuddy.com/

You can even step through the matching process and see how your matches are made

1 comments

Love RegexBuddy. That feature along with the "use" tab which generates code for whatever language you select. I don't have to remember the specifics in all the languages I work in. I just select from the dropdowns, for example, "JavaScript (Chrome)" then "Use regex object to get the part of a string matched by a numbered group". Replace the placeholder variable names, and you're good to go!

It will also do things like warn you if you use named groups if your selected language doesn't support them, and the "Use" dropdown won't provide that option.

I really wish it wasn't Windows only.

Hah wow... I've had this app for over a decade and never noticed that feature... right next to the Debug button which I have used numerous times on really gnarly regexes