The old version is being supported on new versions as well?
Yes, it is. Here's another backwards-compatible alternative: s/ABC(?s:.*?)XYZ.*/[DATA]/
In reply to Re^3: Replacing between patterns
by haukex
in thread Replacing between patterns
by ovedpo15
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |