This book will help you learn Python Regular Expressions, a mini-programming language for all sorts of text processing needs.
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.
You should have prior experience working with Python, should know concepts like string formats, string methods, list comprehension and so on.
Both standard re module and popular third party regex module is covered in this book.
Table of contents
- Why is it needed?
- Regular Expression modules
- Anchors
- Alternation and Grouping
- Escaping metacharacters
- Dot metacharacter and Quantifiers
- Working with matched portions
- Character class
- Groupings and backreferences
- Lookarounds
- Flags
- Unicode
- Miscellaneous
- Gotchas
| Pages : | 71 |
| Size : | 0.6 MB |
| Downloads: | 250 |
| Created: | 2022-02-03 |
| License: | CC BY-NC-SA |
| Author(s): | Sundeep Agarwal |
Others related eBooks about Python re(gex)?
This book is a tutorial for the Python 3 programming language designed for someone with no programming experience. Starting from no programming knowledge, the book teaches how to create programs with examples, explanations and exercises.
Python is one of those rare languages which can claim to be both simple and powerful. You ..., download free Python tutorial in PDF (117 pages) created by Swaroop C H .
There are many books that teach beginners how to write secret messages using ciphers. Ther..., download free Python tutorial in PDF (440 pages) created by .
Download free course Practices of the Python Pro, pdf file on 248 pages by Dane Hillard.
This book uses Python to introduce folks to programming and algorithmic thinking. It is sharply focused on classical algorithms, but it also gives a solid understanding of fundamental algorithmic problem-solving techniques.