Created
January 14, 2011 07:40
-
-
Save daytonn/779323 to your computer and use it in GitHub Desktop.
This regex parses an anchor link and grabs the href, hash, and the text.
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\shref\=\"(\w+)\.html(\#\w+)\"\>(.+)\<\/a\> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment