Skip to content

Instantly share code, notes, and snippets.

@house9
Created January 6, 2010 17:50
# remove all script tags
html_content = html_content.gsub(/<script.*?>[\s\S]*<\/script>/i, "")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment