Last active
December 11, 2015 05:28
-
-
Save aaronott/4551982 to your computer and use it in GitHub Desktop.
regexp to switch [email protected] to [email protected]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%s/\(\w\+\).\(\w\+\)@/\2.\1@/ | |
In vim, this will take a pattern such as [email protected] | |
and replace it with [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment