I want to delete some certain characters that used wrongly in a string.
"........I.wanna.delete.only.the.dots.outside.of.this.text..............."
as you can see I can't use replace for this. I must find a way to delete only the characters at left and right of a string and those dots only an example of characters that I want to delete. I have an array of those unwanted characters. So after the process string should look like
"I.wanna.delete.only.the.dots.outside.of.this.text"
but I couldn't find a way to get this work.
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)