Remove all special characters except space from a string using JavaScript

I want to remove all special characters except space from a string using JavaScript.

For example,
abc's test#s
should output as
abcs tests.

12 Answers
12

Leave a Comment