Python Regular expressions
In this video, I have discussed about the python sub method
In this video, I have discussed about the python split method
In this video, I have discussed about the python search method
sub method substitutes a particular occurence of a pattern with the string you provide
split method splits the string based on the delimeter provided
seacrh method returns the first occurrence of the pattern you have provided
the start() method used against the object returned by search will show the location of first occurrence
References for python regex:
https://www.w3schools.com/python/pyth...
https://docs.python.org/3/howto/regex...
https://docs.python.org/3.4/library/r...
https://docs.python.org/2/library/re....