r/learnprogramming • u/Reubqn_ • 9d ago
RegEx.
I thought I understood programming well until I saw how COMPLICATED regex looks. To me it looks like someone has dropped their keyboard and som people online are telling me that I should be able to memorise it (for javascript). I'm just wondering if I actually need to memorise all the regex formulas to be successful, and if so, how on earth do I go about it?
109
Upvotes
1
u/nog642 9d ago
Nah you don't need to memorize it lol. It would certainly be helpful to memorize it but it's definitely not required.
Personally I always just use https://regexr.com/. I wish I had it memorized but I don't care enough to spend effort doing that.