Regex Tester
Test regular expressions
Enter a pattern and a test text – the regex tester instantly shows all matches with their position and captured groups. It uses your browser’s native JavaScript regex engine.
- Flags:
g(global, all matches),i(ignore case),m(multiline),s(dot matches newline),u(Unicode),y(sticky). - Groups: Captured groups appear per match as
$1,$2… - Without the g flag, only the first match is shown.
