0

I had a text BODY BUTTER (<)&(>) CHERRY - 200ML_XM A0 2208. I try to replace (<)&(>) with &.

var str = "BODY BUTTER (<)&(>) CHERRY - 200ML_XM A0 2208";
str.replace(/\(<\)|\(>\)/gi,'');

It is not working. Is there anyway to get this work?

ranjith
  • 199
  • 1
  • 2
  • 15

0 Answers0