All Tools

Regex Tester

Test regular expressions against input text. See matches highlighted in real-time with capture groups.

Pattern
//
Test String
Want more? Create your free API playgroundTry TryAPI free

Regex Quick Reference

Character Classes

  • \d - Digit (0-9)
  • \w - Word character (a-z, A-Z, 0-9, _)
  • \s - Whitespace
  • . - Any character

Quantifiers

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