Created
September 14, 2014 17:21
-
-
Save rodrigowebjump/92300abd03b7b8d79d9a to your computer and use it in GitHub Desktop.
Regex para encontrar imagens sem alt tag
From http://stackoverflow.com/questions/4031948/using-regular-expressions-to-find-img-tags-without-an-alt-attribute
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
| /(<img(?!.*?alt=(['"]).*?\2)[^>]*)(>)/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment