I have several occurence of similar text in a very long email:
*1116 1200 ABC_Content_124853_124855 1117 1500
ABC_Content_123456_ABC_124865_Sound 1117 1000 - Documentation - 75% to 84% and 85% to 99%*
The text can change much but I am able to get all the relevant matches using this regex:
The problem is that I can have many different occurencies of such group to extract and I'd need to implement it in Python.
Python says that (?s) is not a valid RegEx...
Therefore I've tried:
print re.findall(r'.*\s(\*\d+\s+\d+.*?\*)+.*', my_very_long_text.replace('\n', ' ').replace('\r', ''))
But I only print the LAST match and not ALL the matches.
Can you kindly help?