Regular Expressions 101

Community Patterns

Valid email address in Go

0

Regular Expression
Golang

`
^(?P<local>[a-zA-Z0-9.!#$%&'*+/=?^_\x60{|}~-]+)@(?P<domain>[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$
`
gm

Description

Loading markdown...
Submitted by markus@maragu.dk - 2 years ago