ToolSite

Regex Tester

Test regular expressions against a string and see all matches with captured groups. Uses Rust regex syntax (no backreferences or lookaround).

All processing happens locally in your browser. No files are uploaded.

Share on X

Enter a regex pattern and test text, then click Test to see all matches and captured groups.

Pattern
Flags
Test text

FAQ

Which regex engine is used?
The Rust regex crate. It supports most standard features — character classes, quantifiers, alternation, anchors — but does not support backreferences or lookaround assertions.
Which flags are supported?
i = case-insensitive, m = multi-line (^/$ match line boundaries), s = dot-matches-newline.
Why is my pattern not matching?
Check for backslash escaping: literal dots need \. and literal parentheses need \(. Also ensure the regex syntax matches the Rust regex flavor.

Related tools