IT. Expert System.

REGEX

Email Addresses


Email Addresses

The following regular expressions can be used for matching email addresses.


Expression:
\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,6}\b

Description:
Matches an email address (does not match addresses using an IP address or actually test for specific TLDs)

Test Matches:
joe.smoe@whitehouse.gov
bill@microsoft.com
steve@123.123.123.123
email@[1.2.3.4]
Is this valid? joe.smoe@whitehouse.gov

Expression:
^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.(?:asia|com|org|net|gov|mil|biz|info|
mobi|name|aero|jobs|museum|travel|[A-Z]{2})$

Description:
Matches an email address also testing for valid TLDs (does not match addresses using an IP address)

Test Matches:
joe.smoe@whitehouse.gov
bill@microsoft.com
steve@123.123.123.123
email@[1.2.3.4]
Is this valid? joe.smoe@whitehouse.gov


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 485 / 159172376. Delta: 0.03025 с