Demo
Type any email above to extract the name.
Result:
Install
npm install emailname
bower install emailname
Or download the script file and include as a script tag.
<script src="/EmailName.js"></script>
Code examples
var name = EmailName('frej.norling@example.com');
// name = 'Frej Norling'
var name = EmailName('mårten12_.sÖderBerg12@example.com');
// name = 'Mårten Söderberg'