[Klug-general] Regex for email

MacGyveR macgyver at thedumbterminal.co.uk
Thu Feb 16 09:49:39 GMT 2006


On Wednesday 15 Feb 2006 12:32, Dan Edney wrote:
> Hi the regular expression for email is:
>
> /\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*/
>
> Hope this helps
>
> Dan
>

Dan,
	this will only ensure that the address syntax is correct. So an address like 
someone at fakedomain.com with pass this check.

-- 
--------------------------------
http://www.thedumbterminal.co.uk



More information about the Kent mailing list