Python re(gex)?



Download free course Python re(gex)?, pdf file on 71 pages by Sundeep Agarwal.
Scripting and automation tasks often need to extract particular portions of text from input data or modify them from one format to another.

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
Pages71
Size0.6 MB
File typePDF
Downloads250
Created2022-02-03
LicenseCC BY-NC-SA
Author(s) Sundeep Agarwal
Cover of Python re(gex)?

Download

  • Android Programming Tutorials

    This book shows you what you can do with Android, through a series of 40 individual exercises. It gives you hands-on instruction in how to build sophisticated Android applications, using many of the technologies outlined in CommonsWare's other Android books. ...

  • The Little Go Book

    The Little Go Book is a free introduction to Google's Go programming language. It's aimed ..., download free Go tutorial in PDF (84 pages) created by ....

  • Defensive Database Programming with SQL Server

    Download free course Defensive Database Programming with SQL Server, pdf file on 389 pages by Alex Kuznetsov....

  • Software Project Management

    ...

  • Ruby Kung Fu (RubyFu) Tutorial

    Looking for a comprehensive guide to hacking using the Ruby programming language? Look no further than RubyFu, a free 281-page PDF download by RuFu....

  • Practical Foundations for Programming Languages

    Download free course Practical Foundations for Programming Languages, pdf file on 590 pages by Robert Harper....

  • Getting started with DOM

    Download free DOM tutorial course in PDF, training file in 8 chapters and 39 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

  • Delphi Language Manual Guide

    This tutorial describes the Delphi language as it is used in Borland development tools. This book describes the Delphi language on both the Win32, and .NET development platforms....

  • Biopython: Tutorial and Cookbook

    Download free course Biopython: Tutorial and Cookbook, pdf file on 360 pages by by Jeff Chang, Brad Chapman, Iddo Friedberg, Thomas Hamelryck, Michiel de Hoon, Peter Cock, Tiago Antao, Eric Talevich, Bartek Wilczy?ski....

  • Learning to Program Using Python

    An introduction to computer programming, using the easy, yet powerful, Python programming language. Python, a cross-platform language used by such organizations as Google and NASA, lets you work quickly and efficiently, allowing you to concentrate on your work rather than the language. ...