Hi,
I have a string which is dynamic.
The string will be like
"<li><p align=""left"">Testing data</p></li>".
"<li><div align=""left"">Testing data</div></li>".
"<li><div align=""left"" valign="center"><p align="left">Testing data</p></div></li>".
Here I have to remove the <div> and <p>tags present inside the <li> </li> but remember the tags are dynamic. It can be anything.
So, the out put will be as "<li>Testing data</li>".
Please help.