什么是正则表达式测试器和调试器?
免费在线正则表达式测试和调试器。编写带有标志的 pattern,查看实时匹配高亮,检查捕获组和匹配索引。
免费在线正则表达式测试和调试器。编写带有标志的 pattern,查看实时匹配高亮,检查捕获组和匹配索引。
在模式字段中输入你的正则表达式。
根据需要切换标志(g, i, m, s, u, y)。
将测试字符串粘贴到输入区域。
在下方查看高亮匹配项和捕获组。
The tool uses JavaScript's native RegExp engine, which supports the standard ECMAScript regex syntax.
The sticky flag matches only at the regex lastIndex position, not just anywhere in the string. It is useful for incremental parsing.
免费在线工具 — 在浏览器中运行,无需注册,打开即用。
立即体验All free online tools for developers, designers, students, and creators.
Every tool works in your browser — no sign-up, no data collection.