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

   

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3bb2b-2aff9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3bb2b-2aff9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?