I have following string:
StackOverFlow
How can I extract text (i.e. StackOver
document.getElementById('link_id').innerHTML;
That was my solution before, user added more description but this is solution for current description
var s = 'StackOverFlow'; var text = s.match(/]+>(.+)[\<]\/a>/)[1];