Skip to content

Instantly share code, notes, and snippets.

@ward
Created October 23, 2016 15:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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