DEIVEEGARAJA has asked for the wisdom of the Perl Monks concerning the following question:
Hi folks, I just want to know the possible ways to do this task.
From a given text Extract the root HTML element inner text
Eg.
<div id="header" title=""> <!-- Header Placement #1 --> <div id="headerPre1"></div> <div id="headerWrap1"> <div id="ctl00_header_logo_pnlWrapper" class="logo"> <a class="image1" href="/default.aspx">AAAAAA</a> </div> </div>
Here my search term text is AAAAAA & I need the output like
<div id="ctl00_header_logo_pnlWrapper" class="logo"> <a class="image1" href="/default.aspx">AAAAAA</a> </div>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: From a given text Extract the root HTML element inner text
by kcott (Archbishop) on Dec 06, 2012 at 11:29 UTC | |
|
Re: From a given text Extract the root HTML element inner text
by choroba (Cardinal) on Dec 06, 2012 at 11:00 UTC | |
|
Re: From a given text Extract the root HTML element inner text
by marquezc329 (Scribe) on Dec 06, 2012 at 18:02 UTC | |
|
Re: From a given text Extract the root HTML element inner text
by Anonymous Monk on Dec 06, 2012 at 14:56 UTC |