Overview
Regular expressions have a bad reputation for being difficult to understand. This course introduces tools and a systematic approach so you can unlock the power of regular expressions to write compact, elegant code.
In this course, we will cover concepts from basic to advanced. The examples progress in a logical, narrative way. At the end of one example, we will think about how we might tweak it to do something similar but more powerful. In this way, the concepts flow naturally from one example to the next.
There are also 41 exercises. You are given a description of a regular expression, and then you write it using your choice of JavaScript or Python syntax. After you're done, tests written especially for the exercises will let you know whether your regular expressions did the job they were supposed to. These exercises are a fun, interactive way to cement the concepts in your brain, and make sure you really understand the material presented in the lectures.
Depending on your level of experience, you can start at the beginning, or start later with concepts you've always been interested in, but haven't had a chance to learn yet.
Distributed by Manning Publications
This course was created independently by Bonnie Schulkin and is distributed by Manning through our exclusive liveVideo platform.
About the Technology
About the Video
What's Inside
- Basic regular expression (regex) syntax
- Tokens representing classes of characters
- Using flags and greedy vs. lazy to fine-tune your regular expressions
- Using groups for more advanced searching, plus replacing parts of strings
- Lookahead and Lookbehind
- Examples and exercises in JavaScript, Python and grep
About the Reader
No prior experience required. We will be using the regex101 website to test our regular expressions.
About the Author
Bonnie Schulkin's teaching career started when she was very young, teaching her younger brother as a child. With time, she gradually expanded her horizons to teaching (marginally) more willing high school students, and more recently has taught software development at various boot camps to delightfully willing adults. She has been working in the software industry on and off since the mid-90s.
Quotes
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Watch now
Unlock full access