Click here to Skip to main content
15,889,216 members
Home / Discussions / C#
   

C#

 
Questionload dataGrid C# Pin
toto_201015-Apr-10 23:29
toto_201015-Apr-10 23:29 
AnswerRe: load dataGrid C# Pin
mrkeivan16-Apr-10 1:01
mrkeivan16-Apr-10 1:01 
QuestionRe: load dataGrid C# Pin
toto_201016-Apr-10 1:58
toto_201016-Apr-10 1:58 
AnswerRe: load dataGrid C# Pin
Morgs Morgan16-Apr-10 2:41
Morgs Morgan16-Apr-10 2:41 
GeneralRe: load dataGrid C# Pin
toto_201016-Apr-10 4:20
toto_201016-Apr-10 4:20 
QuestionReguler expression [modified] Pin
bhaskarsgb15-Apr-10 23:23
bhaskarsgb15-Apr-10 23:23 
AnswerRe: Reguler expression Pin
riced16-Apr-10 1:33
riced16-Apr-10 1:33 
GeneralRe: Reguler expression Pin
bhaskarsgb16-Apr-10 1:54
bhaskarsgb16-Apr-10 1: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 2:52
Gideon Engelberth16-Apr-10 2:52 
GeneralRe: Reguler expression Pin
JTS16-Apr-10 2:57
JTS16-Apr-10 2:57 
GeneralRe: Reguler expression Pin
OriginalGriff16-Apr-10 4:58
mveOriginalGriff16-Apr-10 4:58 
GeneralRe: Reguler expression Pin
bhaskarsgb16-Apr-10 7:17
bhaskarsgb16-Apr-10 7:17 
AnswerRe: Reguler expression Pin
Morgs Morgan16-Apr-10 2:57
Morgs Morgan16-Apr-10 2:57 
QuestionCreating videos from images Pin
TimSWatson15-Apr-10 23:15
TimSWatson15-Apr-10 23:15 
AnswerRe: Creating videos from images Pin
Luc Pattyn16-Apr-10 0:13
sitebuilderLuc Pattyn16-Apr-10 0:13 
AnswerRe: Creating videos from images Pin
annathor16-Apr-10 1:18
annathor16-Apr-10 1:18 
AnswerRe: Creating videos from images Pin
TimSWatson16-Apr-10 1:59
TimSWatson16-Apr-10 1:59 
GeneralRe: Creating videos from images Pin
ragnaroknrol16-Apr-10 3:02
ragnaroknrol16-Apr-10 3:02 
GeneralRe: Creating videos from images Pin
TimSWatson16-Apr-10 3:26
TimSWatson16-Apr-10 3:26 
GeneralRe: Creating videos from images Pin
ragnaroknrol16-Apr-10 4:41
ragnaroknrol16-Apr-10 4:41 
QuestionDevelop IE plugin in C# to show custom content Pin
Olivier Baillard15-Apr-10 22:08
Olivier Baillard15-Apr-10 22:08 
AnswerRe: Develop IE plugin in C# to show custom content Pin
Ravi Bhavnani17-Apr-10 20:32
professionalRavi Bhavnani17-Apr-10 20:32 
GeneralRe: Develop IE plugin in C# to show custom content Pin
Olivier Baillard3-Jun-10 21:01
Olivier Baillard3-Jun-10 21:01 
Questionselect distinct rows along with some condition [modified] Pin
NarVish15-Apr-10 22:01
NarVish15-Apr-10 22:01 
AnswerRe: select distinct rows along with some condition Pin
Calla15-Apr-10 22:14
Calla15-Apr-10 22: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.