Test regular expressions with live highlighting of matches. Supports global, case-insensitive, multiline, and dotall flags. Runs in your browser — your data never leaves your machine.
Matches update instantly as you type your pattern or test string. No button click needed — see results in real time.
Toggle global, case-insensitive, multiline, and dotall flags with one click. Or type them directly in the flags field.
See every match with its index position, length, and content in a clear table. Named capture groups are shown when present.
Enter your regex pattern in the pattern field and your test string in the text area below. Matches are highlighted in real time as you type. Use the flag buttons to toggle global, case-insensitive, multiline, and dotall modes. The match details table shows the index, length, and content of every match.
Regex flags modify how the pattern is applied. The g (global) flag finds all matches instead of stopping at the first. The i flag makes the match case-insensitive. The m (multiline) flag makes ^ and $ match the start and end of each line, not just the whole string. The s (dotall) flag makes . match newline characters as well.