View Single Post
  #6 (permalink)  
Old March 16th, 2006, 12:17 AM
mat41 mat41 is offline
Friend of Wrox
Points: 6,664, Level: 34
Points: 6,664, Level: 34 Points: 6,664, Level: 34 Points: 6,664, Level: 34
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2004
Location: Sydney, NSW, Australia.
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

Yes interesting indeed. Reg Ex is well outside my area of expertise.

FYI : This syntax works however insists the address seperator is a commer and there are no spaces between each addresss each seperator:
var expression=/^(([a-zA-Z0-9\-\._]+)@(([a-zA-Z0-9\-_]+\.)+)([a-z]{2,3})(,(?!$))?)+$/;

The version I posted as the solution in my previous post allows a semicolon or a commer and allows a space between each address and the seperator - IMO a very useful piece of code, have a nice day.



Wind is your friend
Matt
Reply With Quote