09. Regex Tester

regex101-style playground: live match, highlight, groups, substitution, and quick reference.

JavaScript (ECMAScript)

Test string

2 matches

Match highlight

Contact support@example.com or hello@breejeshrathod.com for help.
Also invalid: not-an-email and a@b.

Match information

Explanation

  • (?<user>Named capturing group "user"
  • \wMatches any word character [A-Za-z0-9_]
  • +Quantifier: 1 or more of previous
  • )Group end
  • @Literal character "@"
  • (?<domain>Named capturing group "domain"
  • [\w.-]Character class — match one listed character
  • +Quantifier: 1 or more of previous
  • \.Literal .
  • \wMatches any word character [A-Za-z0-9_]
  • +Quantifier: 1 or more of previous
  • )Group end
About this tool

Build, test, and debug JavaScript regular expressions in the browser — pattern/flags bar, live match highlighting, match information with capture groups, substitution, token explanation, and a quick reference (inspired by regex101.com). Fully client-side.

Dedicated URL for Regex Tester on utils.breejeshrathod.com — processing stays in your browser.

regex testerregular expressionregex101regex matchregex groupsregex substitutionregex debugger