关于 正则表达式测试器
Test your regular expressions in 实时 with match highlighting and capture group extraction.
如何使用 正则表达式测试器
- 1输入你的regular expression in the "Regular expression" field。
- 2添加你的 flags in the dedicated field: g (global), i (case insensitive), m (multiline)…
- 3粘贴你的 test string — matches are highlighted immediately.
- 4审查the match list with their position and capture groups。
- 5Starter+:将所有匹配项导出为 .txt 文件。
提示
- Start by testing with the g flag to capture all occurrences in 文本.
- 捕获组(括号)会单独显示——便于提取子模式。
- 如果正则表达式没有任何匹配,请检查特殊字符的转义:点号、星号和括号必须用 \ 转义。
OneKitTools 团队更新于 2.25.0