reg->regexp
This commit is contained in:
parent
4232a53219
commit
32e20fc97c
35 changed files with 132 additions and 132 deletions
|
@ -9,6 +9,6 @@ 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) ); // ..., .....
|
||||
let regexp = /your regexp/g;
|
||||
alert( "Hello!... How goes?.....".match(regexp) ); // ..., .....
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue