Click here to Skip to main content
15,891,033 members
Home / Discussions / C#
   

C#

 
AnswerRe: Validate emailaddress Pin
MumbleB6-May-09 0:02
MumbleB6-May-09 0:02 
AnswerRe: Validate emailaddress Pin
OriginalGriff6-May-09 0:05
mveOriginalGriff6-May-09 0:05 
GeneralRe: Validate emailaddress Pin
Pete O'Hanlon6-May-09 0:16
mvePete O'Hanlon6-May-09 0:16 
GeneralRe: Validate emailaddress Pin
OriginalGriff6-May-09 0:31
mveOriginalGriff6-May-09 0:31 
GeneralRe: Validate emailaddress Pin
MumbleB6-May-09 0:57
MumbleB6-May-09 0:57 
GeneralRe: Validate emailaddress Pin
Mycroft Holmes6-May-09 1:15
professionalMycroft Holmes6-May-09 1:15 
GeneralRe: Validate emailaddress Pin
MumbleB6-May-09 2:03
MumbleB6-May-09 2:03 
GeneralRe: Validate emailaddress Pin
Pete O'Hanlon6-May-09 2:32
mvePete O'Hanlon6-May-09 2:32 
The original RFC regex is (as follows):
(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])
It's not perfect, but is a starting point.

"WPF has many lovers. It's a veritable porn star!" - Josh Smith

As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.


My blog | My articles | MoXAML PowerToys | Onyx



QuestionData gridview Pin
hitesh.kalra5-May-09 23:53
hitesh.kalra5-May-09 23:53 
AnswerRe: Data gridview Pin
Vimalsoft(Pty) Ltd6-May-09 0:24
professionalVimalsoft(Pty) Ltd6-May-09 0:24 
GeneralRe: Data gridview Pin
hitesh.kalra6-May-09 0:32
hitesh.kalra6-May-09 0:32 
GeneralRe: Data gridview Pin
Vimalsoft(Pty) Ltd6-May-09 0:58
professionalVimalsoft(Pty) Ltd6-May-09 0:58 
QuestionCrystal report Pin
hitesh.kalra5-May-09 23:45
hitesh.kalra5-May-09 23:45 
AnswerRe: Crystal report Pin
Sun Rays5-May-09 23:53
Sun Rays5-May-09 23:53 
GeneralRe: Crystal report Pin
hitesh.kalra5-May-09 23:56
hitesh.kalra5-May-09 23:56 
GeneralRe: Crystal report Pin
Sun Rays6-May-09 0:01
Sun Rays6-May-09 0:01 
GeneralRe: Crystal report Pin
hitesh.kalra6-May-09 0:03
hitesh.kalra6-May-09 0:03 
GeneralRe: Crystal report Pin
Sun Rays6-May-09 0:28
Sun Rays6-May-09 0:28 
Questioncmd.exe standardinput problem, please help?!?! Pin
Druuler5-May-09 23:41
Druuler5-May-09 23:41 
AnswerRe: cmd.exe standardinput problem, please help?!?! Pin
12Code6-May-09 0:25
12Code6-May-09 0:25 
GeneralRe: cmd.exe standardinput problem, please help?!?! Pin
Druuler6-May-09 0:31
Druuler6-May-09 0:31 
GeneralRe: cmd.exe standardinput problem, please help?!?! Pin
12Code6-May-09 0:45
12Code6-May-09 0:45 
GeneralRe: cmd.exe standardinput problem, please help?!?! Pin
Druuler6-May-09 1:18
Druuler6-May-09 1:18 
QuestionExtended Ascii charaters are not written in the text file.... Pin
King Julien5-May-09 23:37
King Julien5-May-09 23:37 
AnswerRe: Extended Ascii charaters are not written in the text file.... Pin
OriginalGriff5-May-09 23:50
mveOriginalGriff5-May-09 23:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.