i read the answer regarding the answer of this code
function delete_subscriber(){
var id=this.href.replace(/.*=/,'');
this.id='delete_link_'+id;
if(confirm('Are you sure you want to delete this subscriber?'))
$.getJSON('delete.php?ajax=true&id='+id, remove_row);
return false;
}
but i want the value read through regular expression of the 1st equalsign or middle equal sign not the last for example i want the value "I am some text before" or "and I am in between" from the line below
"I am some text before=and I am in between=and I am after"