To use [[Regular expressions]] in [[Python language]] the `re` library is used. Some examples are presented below: ```python import re re.match() # Checks for a match only at the beginning of the string re.search() # Checks for a match anywhere in the string (this is what Perl does by default) re.findall() # Find all substrings where the RE matches, and returns them as a list. re.finditer() # Find all substrings where the RE matches, and returns them as an iterator re.fullmatch() # checks for entire string to be a match ``` NOTE: To better understand [[Regular expressions]] use a Cheet Sheet like [Python Regex Cheat Sheet - GeeksforGeeks](https://www.geeksforgeeks.org/python-regex-cheat-sheet/) :: **Reference** :: [re — Regular expression operations — Python 3.11.2 documentation](https://docs.python.org/3/library/re.html) **:: Reference ::** [Regular Expression HOWTO — Python 3.11.4 documentation](https://docs.python.org/3/howto/regex.html)