This is the first time I'm using regular expressions with python and I'm trying to figure out why it thinks the error "AttributeError: 'str' object has no attribute 'Match'"
I'm doing this in Jupyter notebook. What am I doing wrong here? I see only one other unhelpful question out there with this same missing attribute error.
import re
grp = "Application: Company Name / 184010 - Application Development / 184010 - Contract Express"
rgx = "\w+ *(?!.*-)"
res = grp.match(rgx)
print(res)
re.match(rgx, grp)
orre.compile(rgx).match(grp)
. – meowgoesthedog