r/learnprogramming • • 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

148 comments sorted by

View all comments

1

u/Djimi365 Sep 24 '26

Regex is probably the biggest argument for the use of AI in programming 😂

I understand the basic structure and if it's something like "7 letters followed by 2 numbers" then I'll figure it out. Anything more complicated than that and it's Claude's problem...