consider this as the input string
 <h1 class="h1class"><span style="font-weight: bold;">abc</span></h1>
I want a regex to remove style="font-weight: bold;" from the above string.
I made a regex for same as style=[\s\w\W]*" , but " at the end of expression is not acceptable.
and also I cannot use \W as the whole line will get selected then style="font-weight: bold;">abc</span></h1> but I want style="font-weight: bold;".
can anyone help me out to get the expected result.
Thanx in advance..!
 
     
     
     
    

