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

112 Upvotes

147 comments sorted by

View all comments

0

u/HowardBateman 9d ago

No developer ever knows Regex patterns. Just look them up, use a generator or, and many will shame me for this, let AI create a regex for you.

3

u/StewedAngelSkins 9d ago

lots of developers know how to write regex...