Skip to content

Instantly share code, notes, and snippets.

@fabiofidanza
Last active February 26, 2021 17:29
Show Gist options
  • Save fabiofidanza/0ec3ffe2a726c6e9a992ad36f67efcce to your computer and use it in GitHub Desktop.
Save fabiofidanza/0ec3ffe2a726c6e9a992ad36f67efcce to your computer and use it in GitHub Desktop.
\s*<span>\s*(?:[^<]*|(?R))\s*<\/span>\s*
$re = '/\s*<span>\s*(?:[^<]*|(?R))\s*<\/span>\s*/imsU';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment