wiki/content/20201104102212-javascript_regexp_match_method.md

12 lines
245 B
Markdown
Raw Normal View History

2024-05-06 20:40:05 +00:00
---
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+/));
```