Regular Expressions Regex

suggest change

Introduction

Python makes regular expressions available through the re module.

Regular expressions are combinations of characters that are interpreted as rules for matching substrings. For instance, the expression 'amount\D+\d+' will match any string composed by the word amount plus an integral number, separated by one or more non-digits, such as: amount=100, amount is 3, amount is equal to: 33, etc.

Syntax of Direct Regular Expressions

Syntax of Precompiled Regular Expressions

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


Regular Expressions:
*Regular Expressions Regex

Table Of Contents
31Set
37Regular Expressions
166Gzip