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


(?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.

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