The regular expression (re) module helps to find specific patterns of text from the downloaded web page. Regular expressions can be used to parse data from the web pages.
For instance, we can try to download all images in a web page with the help of the regular expression module.