U UtiliFile

Regex Tester

Test regular expressions live against any text. Highlights all matches, shows capture groups, and explains common patterns.

/ /
Matches will be highlighted here…

Common Regex Patterns

PatternMatches
\d+One or more digits
\w+Word characters (letters, digits, underscore)
[a-zA-Z]+Letters only
^\S+@\S+\.\S+$Basic email address
https?://\S+URLs starting with http or https
\b\w4\bExactly 4-letter words

Regex Flags

  • g — global: find all matches, not just the first
  • i — case-insensitive: treat uppercase and lowercase as equal
  • m — multiline: ^ and $ match start/end of each line
  • s — dotAll: . also matches newline characters