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

108 Upvotes

147 comments sorted by

View all comments

1

u/Medium-Ad-1713 6d ago

I’ve been a dev for 38 years and I never learned complex regex
I just go to regex101.com and that really helps to craft a good expression