I would like to extract substrings that start after a number and before a double underscore. Below you see two test strings and the expected output after ->.
'1234514 TEST STRING__blabla3452b' -> 'TEST STRING'
'16275653 TEST_STRING__bl67abla3452b' -> 'TEST_STRING'
The regex I came up with so far: (?:^|\n)\d+([^__]+) only returns the first but not the second output as the second underscore is not recognised. I tried to escape the underscores but that did not work. Any help would be very much apprecciated.
Thanks.