关于 正则表达式测试器
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 文本.
- Capture groups (parentheses) are displayed separately — useful for extracting sub-patterns.
- If your regex matches nothing, check the escaping of special characters: dots, stars and brackets must be escaped with \.
OneKitTools 团队更新于 2.21.4