Regex Matches between two strings "Catastrophic Backtracking"

Trying to get all lines between two strings but I get this error:

Example:

IMPUTADO: text
text
text
text
text

IMPUTADO: text
text
etc.

The amount of text rows in between IMPUTADO can vary.

Thanks for the help.

Are you looking for this?
grafik
or
grafik

That works!
What is the ā€œsā€ without a "" for?

Regex101 also explains us a pattern:

1 Like

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