Click here to Skip to main content
15,123,118 members
Home / Discussions / C#
   

C#

 
Questionload dataGrid C# Pin
toto_201016-Apr-10 0:29
Membertoto_201016-Apr-10 0:29 
AnswerRe: load dataGrid C# Pin
mrkeivan16-Apr-10 2:01
Membermrkeivan16-Apr-10 2:01 
QuestionRe: load dataGrid C# Pin
toto_201016-Apr-10 2:58
Membertoto_201016-Apr-10 2:58 
AnswerRe: load dataGrid C# Pin
Morgs Morgan16-Apr-10 3:41
MemberMorgs Morgan16-Apr-10 3:41 
GeneralRe: load dataGrid C# Pin
toto_201016-Apr-10 5:20
Membertoto_201016-Apr-10 5:20 
QuestionReguler expression [modified] Pin
bhaskarsgb16-Apr-10 0:23
Memberbhaskarsgb16-Apr-10 0:23 
AnswerRe: Reguler expression Pin
riced16-Apr-10 2:33
Memberriced16-Apr-10 2:33 
GeneralRe: Reguler expression Pin
bhaskarsgb16-Apr-10 2:54
Memberbhaskarsgb16-Apr-10 2:54 
Thanks for ur reply,

I need the regular expression like this,

Regex rx = new Regex(@"(!(?<jobid>.*?),)(.*)(;(?<field1>.*?)/)(.*)(Frown | :( <field2>.*?)/)(.*)",RegexOptions.Compiled | RegexOptions.IgnoreCase);

in the above regular expression i am extracting the string based on the groups. but if one of the group is not present in the string. it is not matching.

example
"aaa!1234,BBBBCCCCC:222222/"

if the text is like this the regular expression is not matching.
GeneralRe: Reguler expression Pin
Gideon Engelberth16-Apr-10 3:52
MemberGideon Engelberth16-Apr-10 3:52 
GeneralRe: Reguler expression Pin
JTS16-Apr-10 3:57
MemberJTS16-Apr-10 3:57 
GeneralRe: Reguler expression Pin
OriginalGriff16-Apr-10 5:58
mveOriginalGriff16-Apr-10 5:58 
GeneralRe: Reguler expression Pin
bhaskarsgb16-Apr-10 8:17
Memberbhaskarsgb16-Apr-10 8:17 
AnswerRe: Reguler expression Pin
Morgs Morgan16-Apr-10 3:57
MemberMorgs Morgan16-Apr-10 3:57 
QuestionCreating videos from images Pin
TimSWatson16-Apr-10 0:15
MemberTimSWatson16-Apr-10 0:15 
AnswerRe: Creating videos from images Pin
Luc Pattyn16-Apr-10 1:13
sitebuilderLuc Pattyn16-Apr-10 1:13 
AnswerRe: Creating videos from images Pin
annathor16-Apr-10 2:18
Memberannathor16-Apr-10 2:18 
AnswerRe: Creating videos from images Pin
TimSWatson16-Apr-10 2:59
MemberTimSWatson16-Apr-10 2:59 
GeneralRe: Creating videos from images Pin
ragnaroknrol16-Apr-10 4:02
Memberragnaroknrol16-Apr-10 4:02 
GeneralRe: Creating videos from images Pin
TimSWatson16-Apr-10 4:26
MemberTimSWatson16-Apr-10 4:26 
GeneralRe: Creating videos from images Pin
ragnaroknrol16-Apr-10 5:41
Memberragnaroknrol16-Apr-10 5:41 
QuestionDevelop IE plugin in C# to show custom content Pin
Olivier Baillard15-Apr-10 23:08
MemberOlivier Baillard15-Apr-10 23:08 
AnswerRe: Develop IE plugin in C# to show custom content Pin
Ravi Bhavnani17-Apr-10 21:32
professionalRavi Bhavnani17-Apr-10 21:32 
GeneralRe: Develop IE plugin in C# to show custom content Pin
Olivier Baillard3-Jun-10 22:01
MemberOlivier Baillard3-Jun-10 22:01 
Questionselect distinct rows along with some condition [modified] Pin
NarVish15-Apr-10 23:01
MemberNarVish15-Apr-10 23:01 
AnswerRe: select distinct rows along with some condition Pin
Calla15-Apr-10 23:14
MemberCalla15-Apr-10 23:14 

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.