🔍

Regex Tester

Test and debug regular expressions with multiple flags.

Regular Expression
//
Test Text
Common Templates

What is Regex Tester?

Regular expressions (regex) are patterns used for matching text. The regex tester helps you write, test, and debug regular expressions with real-time feedback.

Features

  • Real-time Matching: See matches as you type
  • Flags Support: g (global), i (case-insensitive), m (multiline)
  • Match Highlighting: Visually see matched text
  • Group Capture: View captured groups

Common Patterns

  • Email: /^[\w.-]+@[\w.-]+\.\w+$/
  • URL: /https?:\/\/[\w.-]+/
  • Phone: /\d{3}-\d{4}-\d{4}/