Quick regular expression snippet to convert HTML links to Markdown links:
The HTML links to Markdown article by Aral Balkan, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial 2.0 UK: England License.
Find:
<a href=\\"(.*?)\\">(.*?)</a>
Replace:
[$2]($1)
(Try it in TextMate, for example, which has an awesome find/replace dialog that accepts regular expressions.)
The HTML links to Markdown article by Aral Balkan, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial 2.0 UK: England License.

Add Your Comment