A
A
a2016-10-14 18:24:11
JavaScript
a, 2016-10-14 18:24:11

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 question

Ask a Question

731 491 924 answers to any question