140k views
17 votes
How to ignore punctuation before and after a word javascript

1 Answer

12 votes

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.

User Samwell
by
7.2k points