Answer the question
In order to leave comments, you need to log in
What regular expression for JS will remove all dots from text?
I try this: text.replace(/\./g,' ');
All dots and commas are replaced with spaces, but only dots need to be replaced. How to do it?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question