I would like to extract some information from a string by regex, but the result is always None. The source code is as follows:
line = '<meta content=\"Allrecipes\" property=\"og:site_name\"/>'
x = re.match(r'property=".+?"',line)
print(x)
I want to extract content and property tuples, how can I fix it?