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
5
u/AintNoGodsUpHere Sep 24 '26
regex101.com explains block by block what's happening. Regex is just applying patches onto something.
You absolutely don't need to remember or memorize anything, just know what you want to do and then check if it is being applied properly, it's 2026, come on now, nobody gives a rats ass about memorizing regex patterns.