Regex Tester

Regex string matching and validation with multiple flags and capture groups

Docs

regex.inputAndConfig
Result
0 matches found
No matches found.

使用说明

Test regular expressions in real time with match highlighting and group extraction.

Input

Provide the pattern, the test text, and flags g / i / m / s.

Results

Lists all matches and their captured groups.

Note

Catastrophic backtracking (e.g. (a+)+$) can freeze the browser; test complex patterns with care.