I want to remove the tags and spaces: " ",<br> and <p></p> from my content.
I tried below removing p and br tags :
let Desc= response[i].Description.replace(/<p><br[\/]?><[\/]?p>/g,""');
but it is not removing br and p tags .
Could anyone pls help on how to remove tags and spaces.