en.javascript.info/9-regular-expressions/07-regexp-quantifiers/1-find-text-manydots/task.md
2019-04-02 14:01:44 +03:00

14 lines
228 B
Markdown

importance: 5
---
# How to find an ellipsis "..." ?
Create a regexp to find ellipsis: 3 (or more?) dots in a row.
Check it:
```js
let reg = /your regexp/g;
alert( "Hello!... How goes?.....".match(reg) ); // ..., .....
```