У меня есть эта строка здесь:
-Node: song
--Tag: ItsyWitsySpider
---lyrics: The itsy witty spider climbed up the waterspout.
Down came the rain,
and washed the spider out
--Tag: BaBaBlackSheep
---lyrics: Baa, baa, black sheep, have you any wool?
Yes sir, yes sir, three bags full!
One for the master,
And one for the dame,
--Tag:IfYoureHappyAndYouKnowIt
...
Я хочу получить все
The itsy witty spider climbed up the waterspout.
Down came the rain,
and washed the spider out
С помощью регулярных выражений. На данный момент мое лучшее регулярное выражение:
(?<=ItsyWitsySpider\n)(?:_*lyrics: ).*?(?=_)
Пример здесь: https://regex101.com/r/3myZwB/1 не похоже на работу Спасибо за любую помощь