How It Works

Enter your regular expression and test string to see if the pattern matches. This tool provides real-time feedback to help you debug and validate your regex.

Examples

Example 1: Validate email addresses

Regex: ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$

Test String: example@example.com

Example 2: Extract phone numbers

Regex: \b\d{3}[-.]?\d{3}[-.]?\d{4}\b

Test String: Call me at 123-456-7890

Regex Tester