Hi Team,
I have one table that contains HTML data in it.
I want to replace data in one go but not getting how to do it.
I have to remove data from the previous string and make it a new string example is given below .
Previous:
<p><span style="font-size: 18px;"><strong>Hello World</strong></span></p>
<p> </p>
<h2 style="font-size: 24px; text-align: center;">123456</h2>
<p> </p>
<p class="next-steps-intro" style="margin-bottom: 0;"><span style="font-size: 18px;"><strong>You are at home:</strong></span></p>
NEW:
<p><span><strong>Hello World</strong></span></p>
<p> </p>
<h2 >123456</h2>
<p> </p>
<p><span><strong>You are at home:</strong></span></p>
<p> </p>
Here I have to remove data like
<span style="font-size: 18px;">
now it should be
<span>
same i have to do it with
<h2 style="font-size: 24px; text-align: center;">
now it should be
<h2>
same i have to do it with
<p class="next-steps-intro" style="margin-bottom: 0;">
now it should be
<p>
Like this, I have to replace.
Can I do it using Regex or replace any suggestion.
Thanks

