Skip to content

正则表达式测试工具

免费的正则表达式测试工具,带有实时高亮显示。编写 JavaScript 正则表达式,并在您输入时查看匹配项和捕获组的更新。与您的浏览器使用的引擎相同。

Runs in your browserUpdated Apr 26, 2026

Pattern

//

Test String

2 matches

Highlighted

Email ada@example.com or grace@test.io for info.

常见问题

Which regex flavor is used?

JavaScript regex (ECMAScript), evaluated by the same engine your browser uses. Matches PCRE for most common patterns but differs on lookbehinds and named groups.

What flags can I use?

g (global), i (case-insensitive), m (multiline), s (dotAll), u (unicode), y (sticky).

Are matches highlighted live?

Yes — every keystroke re-runs the regex and updates highlights immediately.

Are capture groups shown?

Yes. Numbered and named capture groups are listed for each match.

Is my input sent anywhere?

No — everything runs in your browser. Useful when testing regex against sensitive text.

Is the regex tester free?

Yes — fully free, no signup.

大家也在搜索