Click here to Skip to main content
16,011,578 members
Home / Discussions / C#
   

C#

 
AnswerRe: Programatically click a button using http POST request Pin
Richard Deeming12-Jun-17 1:51
mveRichard Deeming12-Jun-17 1:51 
Question404 error when implementing an API Pin
Sara Khan Kulkarni10-Jun-17 4:39
Sara Khan Kulkarni10-Jun-17 4:39 
AnswerRe: 404 error when implementing an API Pin
OriginalGriff10-Jun-17 4:54
mveOriginalGriff10-Jun-17 4:54 
AnswerRe: 404 error when implementing an API Pin
Richard MacCutchan10-Jun-17 5:04
mveRichard MacCutchan10-Jun-17 5:04 
AnswerRe: 404 error when implementing an API Pin
User 418025410-Jun-17 6:11
User 418025410-Jun-17 6:11 
GeneralRe: 404 error when implementing an API Pin
Eddy Vluggen10-Jun-17 6:30
professionalEddy Vluggen10-Jun-17 6:30 
AnswerRe: 404 error when implementing an API Pin
Yoqueuris13-Jun-17 4:46
Yoqueuris13-Jun-17 4:46 
QuestionVS2017 : selecting files, then applying search/replace ? Pin
BillWoodruff8-Jun-17 1:22
professionalBillWoodruff8-Jun-17 1:22 
I have been struggling with what Jeff Atwood calls VS's "bastardized regular expression syntax" [^].

Along the way, I found Peter Macej's very useful VS extension for multiple-line-search-replace [^].

It kind of warps my mind that VS, at this late date, doesn't have a built-in multi-line search and replace, and doesn't support a more "standard" RegEx syntax !

Using 'Find in Files' in VS it's easy to limit the search to specific types of files, like *.cs.

Where I am stumped is how to select files that have specific text (keyword) content, and then apply S&R to only the matching files.
C#
// file1.cs
// ... whatever
// KeyWord
// possible content to be changed

// file2.cs
// ... whatever
// possible content to be changed
The goal is to apply the search replace only to the content in 'file1.cs

While all this is easy to do in UltraEdit (which offers UNIX and Perl regex flavors in addition to its own syntax), I'd like to know if this is possible in VS.

thanks, Bill
«Beauty is in the eye of the beholder, and it may be necessary from time to time to give a stupid or misinformed beholder a black eye.» Miss Piggy


modified 8-Jun-17 7:30am.

AnswerRe: VS2017 : selecting files, then applying search/replace ? Pin
Richard Deeming8-Jun-17 1:36
mveRichard Deeming8-Jun-17 1:36 
GeneralRe: VS2017 : selecting files, then applying search/replace ? Pin
BillWoodruff8-Jun-17 2:35
professionalBillWoodruff8-Jun-17 2:35 
GeneralRe: VS2017 : selecting files, then applying search/replace ? Pin
Member 12639408-Jun-17 3:02
Member 12639408-Jun-17 3:02 
GeneralRe: VS2017 : selecting files, then applying search/replace ? Pin
BillWoodruff8-Jun-17 3:26
professionalBillWoodruff8-Jun-17 3:26 
GeneralRe: VS2017 : selecting files, then applying search/replace ? Pin
ZurdoDev8-Jun-17 5:57
professionalZurdoDev8-Jun-17 5:57 
GeneralRe: VS2017 : selecting files, then applying search/replace ? Pin
BillWoodruff8-Jun-17 8:22
professionalBillWoodruff8-Jun-17 8:22 
QuestionCondition of C#. Pin
Member 113461537-Jun-17 22:11
Member 113461537-Jun-17 22:11 
AnswerRe: Condition of C#. Pin
Richard MacCutchan7-Jun-17 22:39
mveRichard MacCutchan7-Jun-17 22:39 
AnswerRe: Condition of C#. Pin
OriginalGriff7-Jun-17 22:55
mveOriginalGriff7-Jun-17 22:55 
QuestionFetching data from multiple mailboxes Pin
Member 132459727-Jun-17 4:23
Member 132459727-Jun-17 4:23 
AnswerRe: Fetching data from multiple mailboxes Pin
OriginalGriff7-Jun-17 8:06
mveOriginalGriff7-Jun-17 8:06 
AnswerRe: Fetching data from multiple mailboxes Pin
F-ES Sitecore7-Jun-17 22:47
professionalF-ES Sitecore7-Jun-17 22:47 
GeneralRe: Fetching data from multiple mailboxes Pin
Member 113461538-Jun-17 3:52
Member 113461538-Jun-17 3:52 
QuestionMissing data on Windows App form C# Pin
Member 131317266-Jun-17 23:33
Member 131317266-Jun-17 23:33 
AnswerRe: Missing data on Windows App form C# Pin
Jochen Arndt7-Jun-17 1:46
professionalJochen Arndt7-Jun-17 1:46 
GeneralRe: Missing data on Windows App form C# Pin
Member 131317267-Jun-17 2:47
Member 131317267-Jun-17 2:47 
GeneralRe: Missing data on Windows App form C# Pin
Gerry Schmitz7-Jun-17 3:16
mveGerry Schmitz7-Jun-17 3:16 

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.