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.
Need to fill-in gaps in your Python skills? I send regular emails designed to do just that.
Sign up for my Python tips emails and I'll share my favorite Python insights with you every couple weeks.
Need to fill-in gaps in your Python skills? I send regular emails designed to do just that.