mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-25 13:06:22 +00:00
12 lines
245 B
Markdown
12 lines
245 B
Markdown
|
---
|
||
|
id: dc5b49fe-a371-459a-b82b-174301aee41d
|
||
|
title: JavaScript RegExp Match Method
|
||
|
---
|
||
|
|
||
|
\`match\` is similar to
|
||
|
[exec](20201104101924-javascript_regexp_exec_method), but in flip mode:
|
||
|
|
||
|
``` javascript
|
||
|
console.log("one two 100".match(/\d+/));
|
||
|
```
|