What if your interviewer asks about this?
We know Regex have some useful functions like:
- match ( Ex: re.match(pattern,dataSource) )
- search ( Ex: re.search(pattern,dataSource) )
- sub ( Ex: re.sub(pattern,replaceStr,dataSource)
- findall ( Ex: re.findall(pattern,dataSource) )