Literally was having a mini-breakdown about not understanding Regex in algorithm solutions the other day and now I'm feeling so much better, so thank YOU!
I genuinely feel like I'm developing the skill for spotting when and where to use them after so much practice! — feedback on twitter
Scripting and automation tasks often need to extract particular portions of text from input data or modify them from one format to another.
The book heavily leans on examples to present features of regular expressions one by one. It is recommended that you manually type each example and experiment with them.
Exercises are also included to test your understanding.
For a preview of the book, see sample chapters at https://github.com/learnbyexample/learn_js_regexp/blob/master/sample_chapters/js_regexp_sample_chapters.pdf
Visit https://github.com/learnbyexample/learn_js_regexp for code snippets, all exercises as a single file and exercise solutions.