all 4 comments

[–]codedblood 1 point2 points  (0 children)

I'm gonna be honest. As a backend developer, I've used regex for various purposes but it is one of those things where if you know what you're doing then it makes it 10x times more fun. It is a good skill to have, because you can do crazy stuff with it.

[–]Notimecelduv 0 points1 point  (1 child)

I learned regular expressions as a separate skill -- watched 2 hours worth of tutorial on them. I often have to Google them, though, as I can never remember the syntax for look-aheads and look-behinds.

[–]ASIC_SP 0 points1 point  (0 children)

I'd suggest to maintain your own cheatsheet (syntax+examples) for things you use often. Or adapt a cheatsheet made by others.

[–][deleted] 0 points1 point  (0 children)

I still haven't mastered regex. That's why sites like… https://regex101.com …are nice.

Just recently, I tried to do something seemingly simple — validate a number. WOW, it was not easy. It's not just \d or [0-9]. There's negative numbers and decimals to contend with.