RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 1
Title Test Details Validate Semicolon Delimited Email Addresses
Expression
^(([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5}){1,25})+(\s*[;.]\s*(([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5}){1,25})+)*$
Description
This is a minor change to the Regex found at http://regexlib.com/RETester.aspx?regexp_id=1007 to allow for spaces around the delimiters.
Matches
info@domain.com; contact@domain.com
Non-Matches
info@domain.com, contact@domain.com
Author Rating: Not yet rated. Tim Schreiber
   Displaying page 1 of 1 pages; Items 1 to 1

Copyright © 2001-2018, RegexAdvice.com | ASP.NET Tutorials