I'm currently working with regular expressions. I know how to retrieve the euro amount with a regex:
r'[+-]?(?:[0-9]*[,])?[0-9]+'
I also know how to retrieve the word with CAPITAL letters:
r'\b[A-Z]+(?:\s+[A-Z]+)*\b'
But I don't seem to get the following to work. Retrieve the words between the euro amount and the first WORD in Capital. For example, if I have the following sentence:
€10,95 Hello how are you doing? good or, bad? WORD
I want to retrieve: "Hello how are you doing? good or, bad?"
Any help is appreciated.