Consider you have the following text:
yada yada
yada yada 1
;
<Hello.There>yada:EGHKJHKG, Source:QWEKGHGHJGKGHJKGHJKVMVNMVMVMVMVMVMVMBTDFHG, </Hello.There>
yada2
yada3
I want to be able to take the information after Source:
and before ,
only.
I've managed to do it with this site , and matched the source value
My regex expression is:
<Hello.There>.+Source:(.+?),\s*</Hello.There>
My python code is:
match = re.match(r'<Hello.There>.+Source:(.+?),\s*</Hello.There>
I get None for match after this line, any ideas?
(I tried many more regex options without success)