7
Thought learning regex was overhyped until I had to clean 500 email addresses last week
Spent like 3 hours manually deleting stuff before a buddy showed me one line of regex that did the job in 2 seconds. Has anyone else had a moment where a tool you ignored ended up saving your whole project?
2 comments
Log in to join the discussion
Log In2 Comments
craig.nathan1mo ago
Tell that buddy to show you how to use capture groups next. Saves even more time when you need to extract just the usernames or domains from those addresses.
8
patricia_lee1mo ago
Honestly, I was just reading about how capture groups can make parsing those email lists way less painful. @craig.nathan, your buddy's onto something with those regex tricks for sure.
8