Regex Tester
Valid flags: g i m s u y
0 matches
Type a regular expression pattern, choose flags, and add test text to see live matches.
- Enter a pattern in the Pattern field
- Add flags such as g, i, m, s, u, or y
- Paste or type test text
- Review the highlighted matches and capture groups
Is my data safe?
Yes. All matching uses the native JavaScript RegExp engine in your browser. No data is ever sent to a server.
How do flags work?
Matches update live as you type. Use the flags field to enable global (g), case-insensitive (i), multiline (m), dotall (s), unicode (u), or sticky (y) matching.