[Solved] Regular expression. Select from one word to another [closed]

[ad_1]

(?s)<BLOCK_START>.*?<BLOCK_END>

where .*? means “zero or more characters”, the ? stands for “as less as possible” and (?s) makes the . match also line breaks and carriage returns.

See a demo here.

[ad_2]

solved Regular expression. Select from one word to another [closed]