I have one string :
function test(){
var datas = "http://localhost/test/[email protected](testing)";
var spl = datas.match(/[^src=]?\b*/g);
document.getElementById('demo').innerHTML = spl;
}
test();
<p id="demo"></p>
I Need ah whole string after the src=
string match.i need a answer like [email protected](testing)
.please help me ...correct my code