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: | 134 |
Created: | 2022-02-03 |
License: | CC BY-NC-SA |
Author(s): | Sundeep Agarwal |
Warning: Trying to access array offset on false in /home/tutovnfz/public_html/amp/article-amp.php on line 263
Others related eBooks about Python re(gex)?
This book will teach you how to make graphical computer games in the Python programming language using the Pygame library.
This book presents computer programming as a key method for solving mathematical problems. There are two versions of the book, one for MATLAB and one for Python. The book was inspired by the Springer book TCSE 6: A Primer on Scientific Programming with Python (by Langtangen), but the style is more
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 .
Think Python is an introduction to Python programming for students with no programming experience. It starts with the most basic concepts of programming, and is carefully designed to define all terms when they are first used and to develop each new concept in a logical progression. Larger pieces,
If you want to learn how to program, working with Python is an excellent way to start. Thi..., download free Python tutorial in PDF (292 pages) created by .