Click here to Skip to main content
15,904,986 members
Home / Discussions / C#
   

C#

 
GeneralRe: converting .mdb -> binary .dat file? Pin
LuckySmoke6-Mar-07 21:37
LuckySmoke6-Mar-07 21:37 
GeneralRe: converting .mdb -> binary .dat file? Pin
PIEBALDconsult7-Mar-07 4:51
mvePIEBALDconsult7-Mar-07 4:51 
QuestionHow to restrict replay to a mail Pin
AR Reddy6-Mar-07 20:30
AR Reddy6-Mar-07 20:30 
AnswerRe: How to restrict replay to a mail Pin
Colin Angus Mackay6-Mar-07 21:22
Colin Angus Mackay6-Mar-07 21:22 
QuestionValidating Email Address Pin
dabuskol6-Mar-07 20:27
dabuskol6-Mar-07 20:27 
AnswerRe: Validating Email Address Pin
sam#6-Mar-07 20:35
sam#6-Mar-07 20:35 
AnswerRe: Validating Email Address Pin
goldli6-Mar-07 21:07
goldli6-Mar-07 21:07 
AnswerRe: Validating Email Address Pin
Wayne Phipps6-Mar-07 21:12
Wayne Phipps6-Mar-07 21:12 
This will match the pattern of an email address using a regex expression:

public bool EmailValid(string email)
{
    string _expression = @"^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}" +
        @"\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\" +
        @".)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$";

    return System.Text.RegularExpressions.Regex.IsMatch( email, _expression );
}


Hope this helps


Regards

Wayne Phipps
____________

Time is the greatest teacher... unfortunately, it kills all of its students
View my Blog

AnswerRe: Validating Email Address Pin
Scott Dorman8-Mar-07 17:31
professionalScott Dorman8-Mar-07 17:31 
QuestionMDI and OutOfMemoryException and CreateHandle() Pin
sarang.chandaikar6-Mar-07 20:15
sarang.chandaikar6-Mar-07 20:15 
AnswerRe: MDI and OutOfMemoryException and CreateHandle() Pin
VirtualVoid.NET7-Mar-07 1:26
VirtualVoid.NET7-Mar-07 1:26 
QuestionCloning object with properties Pin
Priya09026-Mar-07 19:57
Priya09026-Mar-07 19:57 
AnswerRe: Cloning object with properties Pin
Martin#6-Mar-07 20:20
Martin#6-Mar-07 20:20 
QuestionRe: Cloning object with properties Pin
Priya09028-Mar-07 1:33
Priya09028-Mar-07 1:33 
AnswerRe: Cloning object with properties Pin
Martin#8-Mar-07 2:46
Martin#8-Mar-07 2:46 
QuestionHow to make a listview looks like the windows explorer? Pin
goldli6-Mar-07 19:54
goldli6-Mar-07 19:54 
AnswerRe: How to make a listview looks like the windows explorer? Pin
VirtualVoid.NET7-Mar-07 1:28
VirtualVoid.NET7-Mar-07 1:28 
Questionhow to restrict Copy and Paste in textbox control Pin
AR Reddy6-Mar-07 19:45
AR Reddy6-Mar-07 19:45 
AnswerRe: how to restrict Copy and Paste in textbox control Pin
Omkar Ghaisas6-Mar-07 19:55
Omkar Ghaisas6-Mar-07 19:55 
AnswerRe: how to restrict Copy and Paste in textbox control Pin
Navi156-Mar-07 20:08
Navi156-Mar-07 20:08 
QuestionInstantiating a Value Type in .NET Pin
Omkar Ghaisas6-Mar-07 19:29
Omkar Ghaisas6-Mar-07 19:29 
AnswerRe: Instantiating a Value Type in .NET Pin
Not Active6-Mar-07 20:08
mentorNot Active6-Mar-07 20:08 
GeneralRe: Instantiating a Value Type in .NET Pin
Omkar Ghaisas6-Mar-07 20:11
Omkar Ghaisas6-Mar-07 20:11 
GeneralRe: Instantiating a Value Type in .NET Pin
sam#6-Mar-07 20:45
sam#6-Mar-07 20:45 
GeneralRe: Instantiating a Value Type in .NET Pin
Colin Angus Mackay6-Mar-07 21:23
Colin Angus Mackay6-Mar-07 21:23 

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.