consectetur...">

Retrieving content from <! [CDATA []]>

I have a line like:

"<![CDATA [Lorem ipsum dolor sit amet, <a href="http://www.google.com">consectetur</a> siptum. adipiscing elit. Phasellus pulvinar hendrerit malesuada. Mauris eget ante nulla. Suspendisse tempus lorem id.]]>"

using jquery I need to extract all the content that is inside <![CDATA []]>. consider all the data that will be stored in the string variable. Please help me with this.

+5
source share

All Articles