ToolSite

Regex Tester

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

Input
Pattern + test text
Output
Match results
Privacy FirstWorks OfflineNo Uploads
Share on X
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