re.match vs re.findall code example
Example: searching for a pattern in text with re python
import re
xx = "guru99,education is fun"
r1 = re.findall(r"^\w+",xx)
print(r1)
import re
xx = "guru99,education is fun"
r1 = re.findall(r"^\w+",xx)
print(r1)