Skip to content

Instantly share code, notes, and snippets.

@ward
Created October 23, 2016 15:14
Show Gist options
  • Save ward/ecf811ad0b854d51f769c7fc3b7dcad9 to your computer and use it in GitHub Desktop.
Save ward/ecf811ad0b854d51f769c7fc3b7dcad9 to your computer and use it in GitHub Desktop.
vim replace simple <a> tag to markdown url
:s/<a href="\([^"]\+\)">\([^<]\+\)<\/a>/[\2](\1)/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment