Learn Python Regular Expressions step by step from beginner to advanced levels with hundreds of examples and exercises
The book also includes exercises to test your understanding, which is presented together as a single file in this repo — Exercises.md
For solutions to the exercises, see Exercise_solutions.md.
See Version_changes.md to keep track of changes made to the book.
For a preview of the book, see sample chapters
For web version of the book, visit https://learnbyexample.github.io/py_regular_expressions/
Open an issue if you spot any typo/errors.
⚠️ ⚠️ Please DO NOT submit pull requests. Main reason being any modification requires changes in multiple places.
I'd also highly appreciate your feedback about the book.
Special thanks to Al Sweigart, for introducing me to Python with his awesome automatetheboringstuff book and video course.
The book is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License
The code snippets are licensed under MIT, see LICENSE file