Test JavaScript regular expressions with live match highlighting and plain-English explanations.
Click a tag to insert it at the cursor position
good@example.com not-an-email learner@coddy.tech bad@domain user.name+tag@sub.domain.io
^Start of string (or line with m flag)[\w.+-]+Character class — one of \w.+-, one or more times@Literal “@”[\w-]+Character class — one of \w-, one or more times\.Escaped literal “.”[\w.-]+Character class — one of \w.-, one or more times$End of string (or line with m flag)