Web Developer at Vision Infotech
Can you please elaborate more for a better understanding.
Use the Replace() method :
let str = "|f|oo||"; let charToRemove = "|"; let trimmedStr = str.replace(new RegExp(charToRemove, "g"), ""); console.log(trimmedStr); // Output: "foo"
Auto Sync....
Select Categories
Can you please elaborate more for a better understanding.