[Solved] Regex to extract a paragraph September 5, 2022 by Kirat you could use this pattern (===.*===[\s\S]*?)(?====|$)Demo 0 solved Regex to extract a paragraph