Learn Regex The Hard Way Scanning And Parsing Text Without Going Insane.
Regex. It continues to be one of the more challenging things for me since it usually involves writing a custom pattern. Sure there are the classic regular expressions to validate various common circumstances, but trying to write your own regex for a very specific implementation can often be a very challenging experience.
This book (of sorts) was published last year but I’ve found it to be a great walkthrough to truly understanding regex and how you can make better use of it.
Comments
This book isn’t done yet! It’s an Alpha only written up to section 16. Zed writes all of his books openly. I’m looking forward to the finished product.
http://learncodethehardway.org/