Regex Tester & Builder

Test regular expressions with live highlighting and explanations

//

Flags: g (global), i (ignore case), m (multiline), s (dotall), u (unicode), y (sticky)

Common Patterns

Characters: 0

Results

Enter a regex pattern to start testing

How to Use

Basic Usage

  • • Enter your regex pattern in the first field
  • • Add flags (g, i, m, etc.) as needed
  • • Enter test text to match against
  • • See live results and explanations

Quick Start

  • • Click any common pattern to load it
  • • Modify the pattern to fit your needs
  • • Test with your own sample data
  • • Copy the final pattern for use
© 2025 www.devtools.software