Skip to content
Tools

Regex Tester

Test a regular expression and highlight matches.

Processed locally in your browser. Nothing you enter is uploaded.

Matches are highlighted below. A glossary is more reliable than an automatic English explanation of every pattern.

Output

The result will show up here.
  • \d digit, \w word, \s space
  • ^ start, $ end, . any character except newline unless s is set
  • * + ? counts, [] a set, () a group

Related tools