Skip to content

Instantly share code, notes, and snippets.

@robertpateii
Last active December 17, 2015 02:39
Show Gist options
  • Save robertpateii/5537857 to your computer and use it in GitHub Desktop.
Save robertpateii/5537857 to your computer and use it in GitHub Desktop.
Handy vim regular expressions I've written to help with my job.
" Delete the first link on a line, leaving the link text untouched.
s/<a href=".\{-\}">\(.\{-\}\)<\/a>/\1/i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment