DEV Community

[Comment from a deleted post]
Collapse
 
bcnzer profile image
Ben Chartrand • Edited

Regex. Every. Single. Time 🤦‍♂️

I have to use regex tools to help and it feels like I bumble my way through it each time.

Collapse
 
fronkan profile image
Fredrik Sjöstrand

+1 on this. I also love online regex editors

Collapse
 
jeastham1993 profile image
James Eastham

I feel this pain 100%! Regex is so useful but man is it hard to remember

Collapse
 
mzaini30 profile image
Zen

It's so horror...

Collapse
 
helenanders26 profile image
Helen Anderson

I'm sure there are many that would agree with you!

Collapse
 
mzaini30 profile image
Zen

😂

Collapse
 
markoshiva profile image
Marko Shiva • Edited

Well I use few websites for making sure that regex works. like regex101.com and also I have advanced knowledge of sed and awk so if the programming language use compliant regex substitution then I dont need to google.

In either case knowing sed and awk helps as I can make a text file of words that I want to replace and then sed or awk them and see whether the expression works. :)

Collapse
 
alexantra profile image
Alex Antra

Yes 10000% this. rubular.com/ Has been a life saver

Collapse
 
amit_savani profile image
Amit Patel

I used to use rubular.com

Lately started using regex101.com

 
alexantra profile image
Alex Antra

Any particular reason why ? Rubular has a really good generator that tells you what it’s doing ?

 
welfordian profile image
Josh W

regexr.com is better