Which regex flags are supported?
This tool supports JavaScript regex flags: g, i, m, s, u, and y.
Test regular expressions, flags, and match groups in a fast developer-friendly interface.
Compiled expression: -
Match count: 0
Run a test to inspect match output.
Replacement output appears after running the test.
This tool supports JavaScript regex flags: g, i, m, s, u, and y.
Yes. Match output includes capture groups and named groups when present in your pattern.
Yes. You can use replacement patterns like $1, $2, and named group replacements supported by JavaScript.