en.javascript.info/10-regular-expressions-javascript/07-regexp-quantifiers/1-find-text-manydots/solution.md
Ilya Kantor 62c507c78f ok
2017-03-19 20:40:47 +03:00

9 lines
203 B
Markdown

Solution:
```js run
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 `\.`.