7 ms·
For me, the best Regex ressource is still http://regexr.com http://regexr.com It explains what each character does just by hovering over a regex. Best tool to
by clement75009 9y ago
For me, the best Regex ressource is still http://regexr.com http://regexr.com
It explains what each character does just by hovering over a regex. Best tool to learn or to fine tune your regular expression (with testing included).
- warcode 9y agoI'll add https://regex101.com https://regex101.com as an alternative.
- chrisan 9y agoThis is a paid app, but the debugger on this has been my favorite https://www.regexbuddy.com/ https://www.regexbuddy.com/ You can even step through the matching process and see how your matches are made
- squeaky-clean 9y agoLove 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.
- chrisan 9y agoHah 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
- hacker_9 9y agoI'll add http://www.ultrapico.com/expresso.htm http://www.ultrapico.com/expresso.htm as another alternative! Writes out the regex steps in English too.
- nexxer 9y agoI've been using The Regex Coach [0] for years. Simple, free, does the job. [0] http://www.weitz.de/regex-coach/ http://www.weitz.de/regex-coach/
- vacri 9y agoI like https://regexper.com/ https://regexper.com/ as it gives you a visual flow of what's happening.
- gregmac 9y agohttps://www.debuggex.com/ https://www.debuggex.com/ is a neat one for showing a syntax chart (or railroad chart) visualization. I generally use https://regex101.com https://regex101.com for its display of matched groups (when I'm dealing with complex groups and/or replacement backreferences), and http://regexstorm.net/tester http://regexstorm.net/tester when I specifically need to check a regex that will be running in .NET or Powershell.
- otterpro 9y agoFor advanced users (and those who want to become regex gurus), the most helpful regex site for me is http://www.rexegg.com/ http://www.rexegg.com/. Also the O'Reilly book "Mastering Regular Expressions" is probably worth gold.
- squeaky-clean 9y ago> Also the O'Reilly book "Mastering Regular Expressions" is probably worth gold. The book is worth it's price if only for chapter 1, definitely seconding this recommendation.