Last active
August 17, 2018 19:18
-
-
Save pjatx/848ea59f40cfc09730717624699bdbd2 to your computer and use it in GitHub Desktop.
Match markdown links to replace with html links
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 with Regex | |
\[([\w\s]*)\]\(([\w/\\:\.\-\?\&]*)\) | |
// Replace | |
<a target="_blank" href="$2">$1</a>\n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment