Created
June 9, 2014 18:49
-
-
Save zkwentz/c1ce87077d58d5f3569a to your computer and use it in GitHub Desktop.
Find replace in Coda for html elements
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//match class | |
(\<section.*)(class=")([\s\w\-]*)(")(.*\>) | |
//match without class | |
(<section\s+)(?![^>]*\bclass\s*=)([^>]*>) | |
//match just the element | |
<section> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment