wiki/content/20201104102212-javascript_regexp_match_method.md

11 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+/));
```