Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Regexes for finding and cleaning up ancient/bad/deprecated HTML for manual archaeology
# Exclude from find-all
-tmp/*, -.sass-cache/*, -*.min.*, -*-min.*
# Deprecated attributes
# If there's no quotes, you can also hit their values
# Deprecated tags
# Class names
(?:class=")[\w\- ]+(?:")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.