PDA

Click to See Complete Forum and Search --> : Verifying an email address with reg expressions?


hellswraith
Aug 6th, 2003, 12:43 PM
Hello all,

So, I haven't learned Regular Expressions yet...

But I need to be verify that a email is valid when entered in my asp.net page with a regular expression. Does any one have the code handy? I would appreciate it.

Lethal
Aug 6th, 2003, 01:55 PM
Here's what I do. Drag a regular expression control onto your web form and copy the email expression from the property setting. ;)

hellswraith
Aug 6th, 2003, 04:19 PM
Thanks, worked great. I forgot about the pre-built ones.

Lunatic3
Aug 7th, 2003, 01:37 AM
http://regexlib.com/
good source for regex patterns

hellswraith
Aug 7th, 2003, 11:27 AM
Thanks, got it bookmarked. Looks like it has plenty in there.