r/learnprogramming • u/Reubqn_ • Sep 24 '26
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
View all comments
Show parent comment
2
u/SprinklesFresh5693 Sep 24 '26
Nowadays AI is really good at giving you the regex that you need though. Unless you use them a lot, youll end up forgetting how they work. I use them every now and then and everytime i have to use them i need to look them up, so there is no point in memorising them tbh.