Skip to content
GitHub Twitter

RegEx Tester

/ /

Quick Reference

Common Patterns

  • \d - Digit (0-9)
  • \w - Word character (a-z, A-Z, 0-9, _)
  • \s - Whitespace
  • [abc] - Any character in the set
  • [^abc] - Any character not in the set
  • . - Any character except newline

Quantifiers & Flags

  • * - 0 or more
  • + - 1 or more
  • ? - 0 or 1
  • {n} - Exactly n times
  • g - Global flag (find all matches)
  • i - Case-insensitive flag