This is my expression:
r'.*?(\d*)\s(good|bad).*\:\s(\d*)'`
The strings:
Hello 30 good. found: 50.
Hello 10 bad.
My question is: My expression matches (30, good and 50) for the first string, but how do I get it to match (10, bad) for the second one?
As of now, the expression is omitting the second line since it does not fit the description
thanks!