en.javascript.info/9-regular-expressions/09-regexp-quantifiers/1-find-text-manydots/solution.md
Ilya Kantor f21cb0a2f4 WIP
2019-09-04 15:44:48 +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 `\.`.