Back to Browse

Using the Python re Module for Regular Expressions

6.9K views
Nov 19, 2020
8:29

The re—short for regular expression—library is a standard part of Python. Most of the methods inside of the re module take a string pattern—which is the regex—and a string to search against, and return a result. The result is usually a Match object. This Match object gives information about the match—whether or not a match happened and what portions of the string matched the result. Match objects are truthy. Click here to learn more: https://realpython.com/courses/building-regexes-python/

Download

1 formats

Video Formats

360pmp49.5 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Using the Python re Module for Regular Expressions | NatokHD