Created
September 26, 2013 10:28
-
-
Save ifthenelse/6712382 to your computer and use it in GitHub Desktop.
Useful regexp snippets for quick find/replace fixes on Sublime Text 2 and 3
This file contains 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
// find all anchor tags without 'title' attribute | |
<a\s+((class|id|href|)="[^"]+"\s*)+/?> | |
// find all img tags without 'alt' attribute | |
<img\s+((width|height|border|class|id|src|usemap|hspace|vspace)="[^"]+"\s*)+/?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment