Python Regex Tester

Test Python regex with the real re module.

Every match, with its groups and position.

0 matches

Code: re.finditer(r"[\w.-]+@[\w-]+\.\w+", text)

  • re.finditer() (function) Every match, with its groups and position.
  • [\w.-]+ One or more of: a letter in any language, a digit in any language, "_", "." or "-"
  • @ The character "@"
  • [\w-]+ One or more of: a letter in any language, a digit in any language, "_" or "-"
  • \. The character "."
  • \w+ One or more letters or digits in any language, or underscores

No matches yet.

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