Click here to Skip to main content
15,893,594 members
Home / Discussions / C#
   

C#

 
GeneralRe: one more c# xml issue Pin
laziale5-Aug-09 9:47
laziale5-Aug-09 9:47 
GeneralRe: one more c# xml issue Pin
Not Active5-Aug-09 10:46
mentorNot Active5-Aug-09 10:46 
AnswerRe: one more c# xml issue Pin
Adam R Harris5-Aug-09 13:46
Adam R Harris5-Aug-09 13:46 
QuestionVirtual method in sealed class Pin
jpk4205-Aug-09 7:50
jpk4205-Aug-09 7:50 
AnswerRe: Virtual method in sealed class Pin
N a v a n e e t h5-Aug-09 9:03
N a v a n e e t h5-Aug-09 9:03 
AnswerRe: Virtual method in sealed class Pin
PIEBALDconsult5-Aug-09 9:04
mvePIEBALDconsult5-Aug-09 9:04 
AnswerRe: Virtual method in sealed class Pin
DaveyM695-Aug-09 12:21
professionalDaveyM695-Aug-09 12:21 
QuestionRegex issue Pin
Imtiaz Murtaza5-Aug-09 7:43
Imtiaz Murtaza5-Aug-09 7:43 
Hey guys,
Can anyone help me in writing the simple regex. Here is the situation:

I have a text file something like:

// Contents
// Contents
MyDataBlock
{
   @$
      The datablock text
   @$
}
// Contents
// Contents

I want to extract "The datablock text". There is single "MyDataBlock" in this text file. It means that i have to extract entire MyDataBlock {...} and then what is inside @$ into a regex group.

I've created a regex. It is successfully extracting following in regex group <b>DataBlockContents</b>:

   @$
      The datablock text
   @$

But i don't want @$ in the regex group DataBlockContents. How can i do so ? The regex i created is:

MyDataBlock[\\w\\s]*{(?<DataBlockContents>[^}]*)}

Imtiaz

AnswerRe: Regex issue Pin
PIEBALDconsult5-Aug-09 9:09
mvePIEBALDconsult5-Aug-09 9:09 
QuestionAt runtime find the application's build version? Pin
JollyMansArt5-Aug-09 7:10
JollyMansArt5-Aug-09 7:10 
AnswerRe: At runtime find the application's build version? Pin
ricmil425-Aug-09 11:27
ricmil425-Aug-09 11:27 
QuestionRe: At runtime find the application's build version? Pin
JollyMansArt5-Aug-09 15:47
JollyMansArt5-Aug-09 15:47 
AnswerRe: At runtime find the application's build version? Pin
Dougie the P5-Aug-09 16:03
professionalDougie the P5-Aug-09 16:03 
AnswerRe: At runtime find the application's build version? Pin
Cracked-Down5-Aug-09 19:41
Cracked-Down5-Aug-09 19:41 
GeneralRe: At runtime find the application's build version? Pin
JollyMansArt5-Aug-09 20:59
JollyMansArt5-Aug-09 20:59 
QuestionChange Headers in DataGridView [modified] Pin
petermar5-Aug-09 6:01
petermar5-Aug-09 6:01 
Questionchecking a string format? Pin
will kirkby5-Aug-09 5:53
will kirkby5-Aug-09 5:53 
AnswerRe: checking a string format? Pin
Simon P Stevens5-Aug-09 5:59
Simon P Stevens5-Aug-09 5:59 
AnswerRe: checking a string format? Pin
musefan5-Aug-09 7:03
musefan5-Aug-09 7:03 
GeneralRe: checking a string format? Pin
Luc Pattyn5-Aug-09 8:14
sitebuilderLuc Pattyn5-Aug-09 8:14 
GeneralRe: checking a string format? Pin
musefan5-Aug-09 21:53
musefan5-Aug-09 21:53 
Questionhow to monitor internet explorer using c# Pin
msgreat5-Aug-09 5:40
msgreat5-Aug-09 5:40 
AnswerRe: how to monitor internet explorer using c# Pin
msgreat5-Aug-09 6:32
msgreat5-Aug-09 6:32 
GeneralRe: how to monitor internet explorer using c# Pin
todorm3-Sep-09 6:22
todorm3-Sep-09 6:22 
Questionthe code in this article[our codeproject article only] not working in my visual studio 2008 Pin
msgreat5-Aug-09 5:20
msgreat5-Aug-09 5:20 

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.