Greetings,
I have text like following example:
I want to replace it so that I can only see <i>normal text 1</i> & normal text2. How may I do such thing? When both are same codes such as (<div>) in this case, I can't manage to find out a regex Unix or Perl style? Even if I have to do multiple steps...
I have text like following example:
Code: Select all
<div>
<b>parent text 1</b>
<div>
<i>child text1</i>
<div>
<u>child text 2</u>
</div>
</div>
</div>
<i>normal text 1</i>
<div>
parent text 2
<div>
child text 3
</div>
</div>
normal text 2