Skip to content

Instantly share code, notes, and snippets.

@hbprotoss
Last active December 20, 2015 17:59
Show Gist options
  • Save hbprotoss/6173089 to your computer and use it in GitHub Desktop.
Save hbprotoss/6173089 to your computer and use it in GitHub Desktop.
vim中X-XXX-XXX-XXXX美式电话号码转换,去掉横线
%s/\(\d\)-\(\d\{3}\)-\(\d\{3}\)-\(\d\{4}\)/\1\2\3\4/g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment