Created
November 27, 2012 19:21
-
-
Save yetti/4156394 to your computer and use it in GitHub Desktop.
RegEx to select "a href" from HTML
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
a\s*(?i)href\s*=\s*(\"([^"]*\")|'[^']*'|([^'">\s]+)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment