en.javascript.info/10-regular-expressions-javascript/06-regexp-quantifiers/1-find-text-manydots/solution.md
Ilya Kantor e2443e8de6 ok
2017-03-19 16:59:53 +03:00

203 B

Solution:

let reg = /\.{3,}/g;
alert( "Hello!... How goes?.....".match(reg) ); // ..., .....

Please note that the dot is a special character, so we have to escape it and insert as \..