Test, validate and match regular expressions
This regex matches <p> tags that contain a CDATA section, capturing the text inside the CDATA block. It is useful for cleaning subtitle files or extracting text from XML/HTML documents where content is embedded in CDATA within paragraph tags. The non-greedy .+? ensures the opening tag is minimal, and the capture group isolates the actual content.