输入示例文本和正则表达式,实时查看匹配数量与内容。数据不会离开浏览器。
<iframe src="https://lucentool.com/zh/regex-tester" width="100%" height="650" style="border:1px solid #e5e0d8;border-radius:12px;max-width:850px;width:100%;" frameborder="0"></iframe> <div style="font-size:12px;color:#78716c;margin-top:6px;font-family:sans-serif;">Powered by <a href="https://lucentool.com/zh/regex-tester" target="_blank" style="color:#c85a32;text-decoration:none;">Lucentool - 正则表达式在线测试与匹配高亮</a></div>
使用 JavaScript 正则表达式语法。工具默认查找全部匹配,并在存在捕获组时一并列出。