What is it?
RegEx is a sequence of characters that forms a search pattern.
RegEx can be used to check if a string contains the specified search pattern.
Python RegEx API
Function | Description |
Returns a list containing all matches | |
Returns a Match object if there is a match anywhere in the string | |
Returns a list where the string has been split at each match | |
Replaces one or many matches with a string |