Skip to content

Instantly share code, notes, and snippets.

@bdotdub
Created December 18, 2009 23:23
Show Gist options
  • Save bdotdub/259854 to your computer and use it in GitHub Desktop.
Save bdotdub/259854 to your computer and use it in GitHub Desktop.
:%s/\e\[\%([01]\|3[0-7]\|4[0-7]\)\%(;\%([01]\|3[0-7]\|4[0-7]\)\)*m//g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment