Hallo everyone.
I can't figure out how to write a regex to find all text in between certain words. The problem I have is related to line break marks. These two words belong to different paragraphs and therefore the text I'm looking for consists of numerous line break or paragraph break marks. Here you have a sample of the text:
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Nam convallis nisi lorem, sit amet sagittis tortor interdum a.
abc123 Integer facilisis nisl ut est commodo varius. Integer
luctus massa in ultrices scelerisque. Pellentesque
scelerisque velit ullamcorper libero tempor dapibus a nec risus.
Pellentesque vehicula, erat id mollis tempus, lorem lacus
congue dolor, id interdum est diam ac felis. xyz
Nunc a tincidunt massa, vitae placerat urna. Suspendisse potenti.
Let say the text, I'm looking for, follows abc123 and goes before xyz.
Of course I can temporally replace all line break marks with some other character and use a regex like this one for example: abc123.+xyz. It works but I would like to find a straight way to do it. Any help will be appreciated.
Best regards,
gordom