Regex Tester

Test and debug regular expressions with real-time matching

Enter your regular expression and test text to see matches in real-time. Get detailed information about your regex patterns.

/ /
Enter a regex pattern
Lines: 0 Characters: 0

Regex Options

Regex Information

What is Regex?

Regular expressions are patterns used to match character combinations in strings. They're powerful tools for text processing.

Common Patterns

Email: /^[^\s@]+@[^\s@]+\.[^\s@]+$/, Phone: /^\+?[\d\s\-\(\)]+$/, URL: /^https?:\/\/.+/

Special Characters

^ (start), $ (end), . (any char), * (0+), + (1+), ? (0-1), [] (character class), {} (quantifier)

Flags

g (global), i (ignore case), m (multiline), s (dot all), u (unicode), y (sticky)

Quick Patterns