Created
January 23, 2018 09:11
-
-
Save imsarvesh/15d59a7d01af3f0f5aa672293e3befb5 to your computer and use it in GitHub Desktop.
This file contains 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
function email2csv(str){ | |
str.split(';').map(e => e.substr(0,e.length-1).split('<').map(i=>i.trim()).join(',')).join('\n') | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment