SyntaxFix
Write A Post
Hire A Developer
Questions
You can refer the below example to understand the working of re.match and re.search
re.match
a = "123abc" t = re.match("[a-z]+",a) t = re.search("[a-z]+",a)
re.match will return none, but re.search will return abc.
none
re.search
abc