Click here to Skip to main content
15,901,122 members
Home / Discussions / C#
   

C#

 
GeneralRe: Properties Window in windows programming~ Pin
SeeBees20-Oct-07 12:56
SeeBees20-Oct-07 12:56 
QuestionDate Format Pin
mpavas19-Oct-07 23:29
mpavas19-Oct-07 23:29 
AnswerRe: Date Format Pin
Luc Pattyn20-Oct-07 0:11
sitebuilderLuc Pattyn20-Oct-07 0:11 
AnswerRe: Date Format Pin
Guffa20-Oct-07 1:05
Guffa20-Oct-07 1:05 
GeneralRe: Date Format Pin
mpavas20-Oct-07 1:06
mpavas20-Oct-07 1:06 
QuestionHow To Load Assembly Pin
Mohamed Yahia19-Oct-07 23:06
Mohamed Yahia19-Oct-07 23:06 
QuestionHow to do network Diagnostic Pin
jason_mf19-Oct-07 22:43
jason_mf19-Oct-07 22:43 
QuestionRegex -- Replace first match only? Pin
bs999919-Oct-07 18:20
bs999919-Oct-07 18:20 
Im using C# .NET 1.1. Im scratching my head over getting the regular expression to replace only a single instance of my pattern:

searchResults = Regex.Replace(searchResults, @"(]*)>)", "$1", RegexOptions.IgnoreCase);

searchResults contains HTML tags possibly containing two or more tags. I would like to append a tag just after the first and thats it. My above regex will append the tag after every on the page. How do i get it to do only the first instance and stop?
AnswerRe: Regex -- Replace first match only? Pin
Guffa19-Oct-07 20:46
Guffa19-Oct-07 20:46 
QuestionDrag Event Pin
MasterSharp19-Oct-07 14:55
MasterSharp19-Oct-07 14:55 
AnswerRe: Drag Event Pin
Ravi Bhavnani19-Oct-07 16:39
professionalRavi Bhavnani19-Oct-07 16:39 
GeneralRe: Drag Event Pin
MasterSharp19-Oct-07 16:50
MasterSharp19-Oct-07 16:50 
AnswerRe: Drag Event Pin
Ravi Bhavnani19-Oct-07 16:57
professionalRavi Bhavnani19-Oct-07 16:57 
AnswerRe: Drag Event [modified] Pin
Mike Hankey20-Oct-07 10:33
mveMike Hankey20-Oct-07 10:33 
Questionline to mouse Pin
MasterSharp19-Oct-07 11:23
MasterSharp19-Oct-07 11:23 
AnswerRe: line to mouse Pin
led mike19-Oct-07 11:37
led mike19-Oct-07 11:37 
GeneralRe: line to mouse Pin
MasterSharp19-Oct-07 11:50
MasterSharp19-Oct-07 11:50 
GeneralRe: line to mouse Pin
Luc Pattyn19-Oct-07 12:03
sitebuilderLuc Pattyn19-Oct-07 12:03 
GeneralRe: line to mouse Pin
MasterSharp19-Oct-07 12:06
MasterSharp19-Oct-07 12:06 
Questionhow to sort an int arraylist Pin
Daniel_Logan19-Oct-07 11:10
Daniel_Logan19-Oct-07 11:10 
AnswerRe: how to sort an int arraylist Pin
garyshort19-Oct-07 11:32
garyshort19-Oct-07 11:32 
GeneralRe: how to sort an int arraylist Pin
Daniel_Logan19-Oct-07 12:00
Daniel_Logan19-Oct-07 12:00 
GeneralRe: how to sort an int arraylist Pin
garyshort19-Oct-07 12:07
garyshort19-Oct-07 12:07 
GeneralRe: how to sort an int arraylist Pin
Daniel_Logan19-Oct-07 12:12
Daniel_Logan19-Oct-07 12:12 
GeneralRe: how to sort an int arraylist Pin
garyshort19-Oct-07 12:24
garyshort19-Oct-07 12:24 

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.