Definition and Use:
Regular expression is a sequence of character mainly used to find and replace patterns in a string
They are used in data cleaning, web page scrape, etc
Application:
In Python,we have module “re” that helps with regular expression
“import re”
Function:
1)re.match- find match at start of the string
2)re.search- find match anywhere in the string
3)re.findall-find all the occurrence of the pattern in the string
4)re.split-splits the string and returns a splitted array
5)re.sub - replace the pattern with the given replacement string
On this page of the site you can watch the video online Regular Expression in Python with a duration of hours minute second in good quality, which was uploaded by the user Analytics Fun 30 December 2016, share the link with friends and acquaintances, this video has already been watched 526 times on youtube and it was liked by 2 viewers. Enjoy your viewing!