Regex Tester
Apply a regular expression to your text and inspect matches and capture groups, with g/i/m/s flags. Everything runs in your browser.
Input
Output
FAQ
Is my text sent to a server?
No. Everything runs in your browser's regex engine and no text leaves your device.
Which flags are supported?
g (global), i (ignore case), m (multiline), and s (dotAll). g is always applied to extract all matches.
Can I see capture groups?
Yes. Switch to 'Groups' mode to show the parenthesized capture groups alongside each match.
Related tools
Duplicate Line Remover
Remove duplicate lines from a list while keeping the original order.
Sort Lines
Sort lines of text alphabetically, ascending or descending, with case-sensitivity and duplicate removal options. Everything runs in your browser.
Case Converter
Convert naming styles like camelCase, snake_case, kebab-case and PascalCase line by line.