Test JavaScript regular expressions, flags, match indexes, and capture groups locally in your browser.
实时测试 JavaScript 正则表达式。
2 个匹配
alex@example.com
ops@zptools.com
Update the expression or sample text and see matches immediately.
Toggle global, case-insensitive, multiline, dotAll, unicode, and sticky flags.
Inspect capture group output for each match.
Start from common patterns like email, URL, IPv4, and hex colors.
Each result includes the match number and starting index.
Your regex and test text are evaluated directly by the browser.
The tool uses JavaScript RegExp in your browser, so results match modern browser JavaScript behavior.
The UI adds global matching internally so it can list all matches, while still showing the flags you selected.
No. Matching happens locally in the browser.