HomeToolsDevelopment & APIRegex Tester

Regular Expression Tester & Builder

Development & API
Verified
★ Popular

Test, build, and debug regular expressions with real-time matching, explanations, and common pattern library

Regular Expression Tester & Builder

Test, build, and debug regular expressions with real-time matching and explanations

Regular Expression
Enter your regex pattern and configure flags
Common Patterns
Click to load a common regex pattern
Test String
Enter text to test your regular expression against
Matches Found (0)

No matches found. Try adjusting your pattern or test string.

Regex Guide

Character Classes

  • \\d - Digits (0-9)
  • \\w - Word characters
  • \\s - Whitespace
  • . - Any character

Quantifiers

  • * - 0 or more
  • + - 1 or more
  • ? - 0 or 1
  • {n,m} - Between n and m

Anchors

  • ^ - Start of string
  • $ - End of string
  • \\b - Word boundary
  • | - OR operator