Live data from Hacker News

RegExr

regexr.com

51–57 of 57 posts

Re: RegExr

#51
post #49

My favorite is https://regex101.com/ But I've found all of the following to be useful: http://regexone.com/ http://www.regexpal.com/ http://www.rexegg.com/ http://regexr.com/ https://www.debuggex.com/ https://regexper.com/ https://www.regular-expressions.info/ http://www.cheatography.com/davechild/cheat-sheets/regular-e... http://eloquentjavascript.net/09_regexp.html http://www.smashingmagazine.com/2009/06/essential-…

Not sure if it's completely comprehensive, but the clearest tutorial/reference of regex's that I've used is in the book "The AWK Programming Language" by Aho, Kernighan, Weinberger. https://ia902309.us.archive.org/25/items/pdfy-MgN0H1joIoDVoI...

That is a nice introduction indeed. Afterwards, to get a taste for more complex matching, maybe the Perl / PCRE docs.

https://perldoc.perl.org/perlre.html

Re: RegExr

#52
post #23

Why is there a sudden explosion of posts about regex in the last few days? Did something newsworthy happen that I missed, or is it more of a "I saw the post last week and then found this cool related thing" bandwagon effect?

I thinks it’s the latter.

If there is a major news item involving regular expressions, we’re all ready to pounce, ala: https://xkcd.com/208/

Re: RegExr

#53

My favorite is https://regex101.com/ But I've found all of the following to be useful: http://regexone.com/ http://www.regexpal.com/ http://www.rexegg.com/ http://regexr.com/ https://www.debuggex.com/ https://regexper.com/ https://www.regular-expressions.info/ http://www.cheatography.com/davechild/cheat-sheets/regular-e... http://eloquentjavascript.net/09_regexp.html http://www.smashingmagazine.com/2009/06/essential-…

Thank you for posting these links. I'm lost whenever I attempt something with Regex.

Re: RegExr

#54
post #27

My favorite is https://regex101.com/ But I've found all of the following to be useful: http://regexone.com/ http://www.regexpal.com/ http://www.rexegg.com/ http://regexr.com/ https://www.debuggex.com/ https://regexper.com/ https://www.regular-expressions.info/ http://www.cheatography.com/davechild/cheat-sheets/regular-e... http://eloquentjavascript.net/09_regexp.html http://www.smashingmagazine.com/2009/06/essential-…

And for python this one is nice: https://pythex.org/

Regex101 let's you switch mode, and has a python regex one.

Re: RegExr

#55

My favorite is https://regex101.com/ But I've found all of the following to be useful: http://regexone.com/ http://www.regexpal.com/ http://www.rexegg.com/ http://regexr.com/ https://www.debuggex.com/ https://regexper.com/ https://www.regular-expressions.info/ http://www.cheatography.com/davechild/cheat-sheets/regular-e... http://eloquentjavascript.net/09_regexp.html http://www.smashingmagazine.com/2009/06/essential-…

Thanks for the list, but are they all the same? Why go to one over the other?

It makes me wonder, is there something about Regex that makes people want to create so many tools for it, even after so many other ones already exist?

Re: RegExr

#56
post #14

The problem I have with all of these regex websites and tools is that they usually only use the regex dialect of whatever language they’re written in. Or at best, a very incomplete list of dialects. Subtle differences between dialects matter a lot. Personally, I would need at least Perl, Python, GNU utils (with and without -E), BSD utils (or whatever comes with macOS, again with and without-E), and vim with the vario…

If you were on Windows, you could try RegexBuddy. It supports regex dialects for: .NET, Boost (C++), Delphi, Groovy, Oracle Database, PowerShell, R, std::regex, VB6, wxWidgets, C#, MySQL, PHP, PostgreSQL, VBScript, Java, Perl, PCRE, JavaScript, Python, Ruby, Tcl ARE, POSIX BRE, POSIX ERE, GNU BRE, GNU ERE, XML Schema, and XPath. It will even generate code snippets for you based on the regex you create with the tool.…

RegexBuddy is a fantastic piece of software. It also runs fine under Wine.

Re: RegExr

#57
post #27

My favorite is https://regex101.com/ But I've found all of the following to be useful: http://regexone.com/ http://www.regexpal.com/ http://www.rexegg.com/ http://regexr.com/ https://www.debuggex.com/ https://regexper.com/ https://www.regular-expressions.info/ http://www.cheatography.com/davechild/cheat-sheets/regular-e... http://eloquentjavascript.net/09_regexp.html http://www.smashingmagazine.com/2009/06/essential-…

And for python this one is nice: https://pythex.org/

pythex works ok but it's UI/UX is worse than regex101 (which as a friend state, has pythonre capabilities as well.

try regex101 and you won't look back.

Post reply on HN