Click here to Skip to main content
15,895,709 members
Home / Discussions / C#
   

C#

 
AnswerRe: help me plz Pin
Dan Neely2-Sep-05 10:14
Dan Neely2-Sep-05 10:14 
GeneralRe: help me plz Pin
Dave Shaw2-Sep-05 13:18
Dave Shaw2-Sep-05 13:18 
GeneralRe: help me plz Pin
Anonymous6-Sep-05 22:53
Anonymous6-Sep-05 22:53 
QuestionInsert Fails W/Unique Constraint Pin
rich_wenger2-Sep-05 9:09
rich_wenger2-Sep-05 9:09 
AnswerRe: Insert Fails W/Unique Constraint Pin
Mohamad Al Husseiny2-Sep-05 14:53
Mohamad Al Husseiny2-Sep-05 14:53 
QuestionRegular Expression Pin
Derick Cyril Thomas2-Sep-05 8:17
Derick Cyril Thomas2-Sep-05 8:17 
AnswerRe: Regular Expression Pin
Guffa2-Sep-05 8:32
Guffa2-Sep-05 8:32 
AnswerRe: Regular Expression Pin
Alomgir Miah2-Sep-05 9:18
Alomgir Miah2-Sep-05 9:18 
Try this

string s = @"^(([A-Za-z0-9]+_+)|([A-Za-z0-9]+\-+)|([A-Za-z0-9]+\.+)|([A-Za-z0-9]+\++))*[A-Za-z0-9]+@((\w+\-+)|(\w+\.))*\w{1,63}\.[a-zA-Z]{2,6}$";

Regex ex = new Regex(s);
Match match = ex.Match("g_s+gavcom.com");

if ( match.Success )
{
MessageBox.Show("Found");
}

Live Life King Size
Alomgir Miah
QuestionDataGridView has no CaptionText or Title property Pin
billoo2-Sep-05 8:00
billoo2-Sep-05 8:00 
Questionget text from ie address bar Pin
qsosoq20002-Sep-05 7:33
qsosoq20002-Sep-05 7:33 
Questionoverride ToString() for Combobox Pin
PHDENG812-Sep-05 6:53
PHDENG812-Sep-05 6:53 
AnswerRe: override ToString() for Combobox Pin
Guffa2-Sep-05 7:11
Guffa2-Sep-05 7:11 
GeneralRe: override ToString() for Combobox Pin
PHDENG812-Sep-05 7:20
PHDENG812-Sep-05 7:20 
QuestionComboBox Mayhem Frustration. Pin
rich_wenger2-Sep-05 5:02
rich_wenger2-Sep-05 5:02 
AnswerRe: ComboBox Mayhem Frustration. Pin
Michael Potter2-Sep-05 5:33
Michael Potter2-Sep-05 5:33 
GeneralRe: ComboBox Mayhem Frustration. Pin
rich_wenger2-Sep-05 5:47
rich_wenger2-Sep-05 5:47 
GeneralRe: ComboBox Mayhem Frustration. Pin
Michael Potter2-Sep-05 6:09
Michael Potter2-Sep-05 6:09 
Questionwildmat in C# Pin
Mridang Agarwalla2-Sep-05 4:19
Mridang Agarwalla2-Sep-05 4:19 
AnswerRe: wildmat in C# Pin
Judah Gabriel Himango2-Sep-05 4:41
sponsorJudah Gabriel Himango2-Sep-05 4:41 
Questionapplication path in class library Pin
Mridang Agarwalla2-Sep-05 4:16
Mridang Agarwalla2-Sep-05 4:16 
AnswerRe: application path in class library Pin
Judah Gabriel Himango2-Sep-05 4:43
sponsorJudah Gabriel Himango2-Sep-05 4:43 
AnswerRe: application path in class library Pin
miah alom2-Sep-05 5:13
miah alom2-Sep-05 5:13 
GeneralRe: application path in class library Pin
miah alom2-Sep-05 5:15
miah alom2-Sep-05 5:15 
Questionremoving vbcr and vbtab at the end of a string Pin
Mridang Agarwalla2-Sep-05 4:07
Mridang Agarwalla2-Sep-05 4:07 
AnswerRe: removing vbcr and vbtab at the end of a string Pin
Mohamad Al Husseiny2-Sep-05 4:47
Mohamad Al Husseiny2-Sep-05 4:47 

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.