Skip to content

Instantly share code, notes, and snippets.

@zbigniewTomczak
Created June 8, 2013 12:38
Show Gist options
  • Save zbigniewTomczak/5735045 to your computer and use it in GitHub Desktop.
Save zbigniewTomczak/5735045 to your computer and use it in GitHub Desktop.
Regexp to match html tags
</?\w+((\s+\w+(\s*=\s*(?:".*?"|'.*?'|[^'">\s]+))?)+\s*|\s*)/?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment