Regular Expression in Python

Publicado el: 30 diciembre 2016
en el canal de: Analytics Fun
526
2

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


En esta página del sitio puede ver el video en línea Regular Expression in Python de Duración hora minuto segunda en buena calidad , que subió el usuario Analytics Fun 30 diciembre 2016, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 526 veces y le gustó 2 a los espectadores. Disfruta viendo!