Regex between two lines

I want to match “Fanta \d{2}” and it needs to be the one that lies between Lines and Balance:

Fanta 44
Road 22


Coke 22
Fanta 44
Sprite 33

Balance 55

See you

PS. Fanta and two digits can appear a lot in the string, but only once between Lines and Balance, and that’s the match I want. The digits can vary, e.g. Fanta 44, Fanta 55 (read: I dont know the numbers, just that there are two numbers).

can you please confirm following:

this topic is a duplicate of:

and was solved on other topic

If yes please also close / delete this duplicate. Thanks for support


This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.