Regular Expressions

Regular expressions (often called "regex" or "regexes") are a miniature special-purpose programming language that lives inside Python.

Regular expressions use a very similar syntax in many programming languages: JavaScript, Ruby, Perl, PHP, and many more.

Regular expressions can seem quite cryptic and quite terse because every character in a regular expression represents a whole statement and regular expressions are usually written without whitespace or comments.

Write more Pythonic code

Need to fill-in gaps in your Python skills? I send regular emails designed to do just that.