DEV Community

Discussion on: What I've learned from the Advent of Code so far (days 1-5)

Collapse
 
minna_xd profile image
Minna N. Ompeluseura LevelUP Koodarit

Oh yes, I would've done regex but I didn't know how. 🙈 I'd come across regex in a search and replace usage only. I've improved a lot of my code "retroactively" so I'll probably look into regex solution as well because I like regex. 😄

Collapse
 
minna_xd profile image
Minna N. Ompeluseura LevelUP Koodarit

Such luck: there is a post titled "How to use Regular Expressions in JavaScript" under Trending on DEV. Gotta check that out.