How to use regular expressions to cut out certain words from sentences?

Hello, versed with regular expressions. There is such a line
a = "Ingredients: Dor blue 50 g + 100 RUB Bacon 50 g + 100 RUB Jalapenos 20 g + 50 RUB."


How to cut all the ingredients?
To make it so:
Dor blue 50g + 100 rubles
Bacon 50g + 100 rubles
Jalapenos 20 g + 50 RUB

Cut, but this only works if the ingredients consist of 1 word, and if more than 2 is not suitable.
ingredients = re.findall(r'\w+\s+\d+\s+g\s+\+\s+\d+\s+RUB', string)
March 19th 20 at 09:19
1 answer
March 19th 20 at 09:21
Solution
[:.](.+?RUB)

here you can see
Vladimir, could you recommend books for a beginner on regular expressions? - Mitchell.Predovic36 commented on March 19th 20 at 09:24
@Mitchell.Predovic36 https://habr.com/ru/post/115825/ - alan.Gulgowski commented on March 19th 20 at 09:27

Find more questions by tags Regular expressionsPython