← Back to JavaScript exercises

66. Regular Expressions

Result appears here
output.textContent=/^[\w.-]+@[\w.-]+\.\w+$/.test("student@example.com");