Skip to content

Instantly share code, notes, and snippets.

@jwerre
Created November 8, 2012 23:58
Show Gist options
  • Save jwerre/4042738 to your computer and use it in GitHub Desktop.
Save jwerre/4042738 to your computer and use it in GitHub Desktop.
Match all block level html tags
str.match(".*<(address|blockquote|div|dl|fieldset|form|h1|h2|h3|h4|h5|h6|hr|noscript|ol|p|pre|table|ul)>.*")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment