DEV Community

(Don't Fear) The Regex: A Practical Introduction to Regular Expressions

Josh Hawkins on March 22, 2017

Have you ever used strings before? That's right, those "arrays of characters" we all know and love? Unless you code only in C, I'd bet you have - a...
Collapse
 
cmilr profile image
Cary Miller

Hey, this is a great write-up! I've generally stayed as far away from regex as I can, but this actually has me thinking I can tackle it. Thanks!

Collapse
 
meanin profile image
Paweł Ruciński
Collapse
 
hawkinjs profile image
Josh Hawkins

Thanks for all the kind words, everyone! I've been hoping to write a follow-up article to this since I originally wrote it in early 2017, but it's only in the brainstorming stages today. I do plan to convert this into a talk and give it at a few conferences around my area, though. Let me know if you're interested to have a little bit of a different talk at your meetup/conference, covering regexes and how I think they could save you lots of headaches :)

Collapse
 
janpauldahlke profile image
jan paul

hi josh, stumpled upon this in dec'17. trying to solve this python kata codewars.com/kata/regex-password-v... and my regexp is rusty. are you interested not in giving me the solution, but showing me how to say and in RegEX and i read here stackoverflow.com/questions/469913...

best regards and happy coding

Collapse
 
erclairebaer profile image
Claire McCrea

Trying to figure out a freecodecademy challenge with regex, and this was extremely helpful. Thanks!

Collapse
 
ahmadawais profile image
Ahmad Awais ⚡️

Incredible! Beat write up on regex I've ever read. 🤘💯