en.javascript.info/5-regular-expressions/07-regexp-quantifiers/1-find-text-manydots/task.md
Ilya Kantor 455d300d8d renames
2017-05-25 11:56:32 +03:00

228 B

importance: 5


How to find an ellipsis "..." ?

Create a regexp to find ellipsis: 3 (or more?) dots in a row.

Check it:

let reg = /your regexp/g;
alert( "Hello!... How goes?.....".match(reg) ); // ..., .....