Regex Tester & Explainer

Test regular expressions live with highlighted matches and groups, and get a plain-English explanation of the pattern. Free tool.

//g

2 matches

What this pattern means

  • \b a word boundary
  • \w+ a word character (letter, digit or _), one or more times
  • @ the text “@”
  • \w+ a word character (letter, digit or _), one or more times
  • . the text “.”
  • \w+ a word character (letter, digit or _), one or more times
  • \b a word boundary

How to use Regex Tester & Explainer

  1. Type a regular expression and flags.
  2. Paste sample text and see every match highlighted.
  3. Read the plain-English explanation of the pattern.

Privacy

Runs entirely in your browser. Nothing you enter or open here is uploaded.

Related tools