Re:Regex for Noobs – An Illustrated Guide
by sandgraham on Sunday August 04, 2019 @03:19PM
(#20608664)
https://regexone.com/ is a great resource for learning regex.
Also try https://regex101.com/ as a sandbox for experimenting and expanding your regex skills.
[ Parent
| on HN ]
Re:Regex for Noobs – An Illustrated Guide
by Klathmon on Sunday August 04, 2019 @03:34PM
(#20608729)
Regex101 is basically my "regex editor", to the point that I have a keybinding in my normal code editor that opens it in the browser for me.
It's such a good resource for understanding and writing both simple and complicated regex.
Re:Regex for Noobs – An Illustrated Guide
by sverhagen on Sunday August 04, 2019 @07:22PM
(#20609872)
I want to call out https://www.regular-expressions.info/ since it was, for a long time, one of the better/best resources on regexes that I was able to find. I learned a lot from this ... guy, essentially.
Re:Regex for Noobs – An Illustrated Guide
by nerdponx on Sunday August 04, 2019 @07:36PM
(#20609937)
This website is great and well worth a donation if you've benefited from it in the past.
As a "next level" site, also give https://rexegg.com a look.
regex101 and similar sites like [1] are great
but, I always try to add a warning when recommending - should use them only for the flavors supported (PCRE, Python, etc) I've seen many using it for cli tools and wonder why things like non-greedy or lookarounds don't work.
Re:Regex for Noobs – An Illustrated Guide
by mettamage on Sunday August 04, 2019 @05:30PM
(#20609340)
Why not use sublime as your regex editor? What makes regex101 special?
Re:Regex for Noobs – An Illustrated Guide
by m4tthumphrey on Sunday August 04, 2019 @05:51PM
(#20609436)
Can't speak for Sublime but 101 has inline highlighting and explanations per regex feature/flag/pattern. It really is awesome.