The SO link Javascript Regular expression to remove unwanted <br>, sp tells us to remove an expression using regex.But i want to remove &nb sp; without using regex.Angular expression:
{{notification.noti_val)}};Did:{{notification.noti_val.replace(/\&nb sp;/g, ' ')}}
.But doesnt delete the &nb sp;
Note:did a space between nb and sp cause SO was parsing it as whitespace so was showing it as whitespace