Python is a high level open source scripting language. Python’s built-in «re» module provides excellent support for regular expressions, with a modern and complete regex flavor. The only significant features missing from Python’s regex syntax are atomic grouping, possessive quantifiers, and Unicode properties.
The first thing to do is to import the regexp module into your script with import re.