Test regular expressions online with real-time matching and highlighting. Our regex tester helps you validate patterns, debug regex, and learn regular expression syntax.
Regex Flags
g (global): Find all matches instead of stopping after first match
i (case-insensitive): Ignore case when matching (A = a)
m (multiline): ^ and $ match line boundaries, not just string boundaries