How to match such html strings

var pp ="< span class= "a" > abcd abc < div class= "a" > abcd < / div >";
how to replace the regular with
var pp ="< span class= "a > a bcd a bc < div class=" a "> a bcd < / div >";
after thinking for a long time, I don"t know how to write it.

Mar.11,2021

   

Menu