Go Regex Tester

Test Go regex with Go's regexp package.

0 matches

Code: regexp.MustCompile(`[\w.-]+@[\w-]+\.\w+`).FindAllStringSubmatch(text, -1)

  • [\w.-]+ One or more of: a letter, a digit, "_", "." or "-"
  • @ The character "@"
  • [\w-]+ One or more of: a letter, a digit, "_" or "-"
  • \. The character "."
  • \w+ One or more letters, digits or underscores

No matches yet.

Everything runs in your browser, and your data never leaves your device.