Regex Tester

Test and debug your regular expressions with real-time feedback and detailed match information

🔍 Regular Expression

📊 Results

0 matches found
Index
Match
Length

💡 Regex Quick Reference

Common Patterns

  • \d – Any digit (0-9)
  • \w – Any word character (a-z, A-Z, 0-9, _)
  • \s – Any whitespace character
  • . – Any character except newline
  • [abc] – Any character in the set (a, b, or c)
  • [^abc] – Any character not in the set
  • ^ – Start of string
  • $ – End of string
  • * – 0 or more repetitions
  • + – 1 or more repetitions
  • ? – 0 or 1 repetition
  • {n} – Exactly n repetitions
  • {n,} – n or more repetitions
  • {n,m} – Between n and m repetitions
  • (a|b) – a or b
  • \b – Word boundary