JSFiddle - React, Tailwind, and code Playground

HTML

<p id="test"></p>

JavaScript

var myText = 'adminvicky@gmail.com   Active  12/05/2015  03:07 dminvishal250@gmail.com   Pending Verification 8/05/2015  01:07';    

function getMail ( text ){
    return text.match(/([a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+\.[a-zA-Z0-9._-]+)/gi);
    }
     
alert(getMail(myText))