UtilixWebCode → Regex Tester

Regex Tester

Test regular expressions with live match highlighting and detailed results

/
/
Flags:
Matches0
Groups0

How to Use the Regex Tester

Type your regular expression pattern into the pattern field (without delimiters — just the pattern itself). Select the flags you need, then type or paste your test string. Matches are highlighted in real-time.

Flag Reference

  • g — Global: find all matches, not just the first.
  • i — Case-insensitive: A matches a.
  • m — Multiline: ^ and $ match line start/end.
  • s — DotAll: . also matches newline characters.

Tips

  • Use \d for digits, \w for word chars, \s for whitespace.
  • Group with (...), alternate with a|b, repeat with +, *, {n,m}.
  • Use ^ and $ to anchor to line/string start and end.