JSFiddle - React, Tailwind, and code Playground

HTML

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

JavaScript

var myText = '[email protected]   Active  12/05/2015  03:07 [email protected]   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))