python re get the match 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)