IDNLearn.com: Where your questions meet expert advice and community support. Get thorough and trustworthy answers to your queries from our extensive network of knowledgeable professionals.
Answer:
If you want to remove/ ignore punctuation before and after a word javascript, my suggestion is to remove specific punctuation from a string, it will probably be best to explicitly remove exactly what you won't like.