I have a JavaScript variable which holds an HTML page and due to the setup I need to extract everything between and
and
Let jQuery do the parsing for you:
$(page_html).find("#LiveArea").html();