en.javascript.info/5-regular-expressions/07-regexp-quantifiers/1-find-text-manydots/solution.md
Ilya Kantor 455d300d8d renames
2017-05-25 11:56:32 +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 \..