I have got this string:
<tr onmouseover="setInfo('<b>Details for this (ID:1003030456) on Local</b><br> some more test here:
I am trying to get numbers between "ID:"" and ") on Local" without the quotes.
I had this code:
var data = '<tr onmouseover="setInfo('<b>Details for this (ID:1003030456) on Local</b><br> some more test here:';
var result = data.match(/\(ID: (.*)\) on local/);
console.log(result[1]);
But this is not finding it.
How can I change this so it finds the result required?