Regular Expressions 101

Library entries

Mail address

Vote

1

Regular Expression
pcre

/
^(?<full>(?<local>[\w!#$%&'*+\-\/=?^_`{|}~]+(?:\.[\w!#$%&'*+\-\/=?^_`{|}~]+)*|"[\w!#$%&'*+\-\/=?^_`{|}~(),:;<>@\[\] \\"]+(?:\.[\w!#$%&'*+\-\/=?^_`{|}~(),:;<>@\[\] \\"]+)*")@(?<domain>[[:alnum:]-]+(?:\.[[:alnum:]-]+)*|\[[0-9.]+\]|\[IPv6:[[:xdigit:]:]+\]))$
/
gim

Description

Loading markdown...
Submitted by piwi82 - 6 years ago