By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,886 Members | 1,107 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,886 IT Pros & Developers. It's quick & easy.

Case Insensitive Search with Sensitive Replace

P: n/a
Case Insensitive Search with Sensitive Replace

Need a REGEX case insensitve search & replace where case of found
string is mirrored in replacement string please.

The above question is basically how does one perform a REGEX Case
insensitve search and replace where the case of the found string is
mirrored in the replacement string please.

Also looking for a free global search and replace program that can work
with multiple files/subdirectories for microsoft platform with the
above capability and the ability to confirm each and every replacement
before moving the next one.

best regards,


May 4 '06 #1
Share this Question
Share on Google+
1 Reply

P: n/a
An example would be the following:

find ANY case of string:


and replace with:


but match case of found string in replacement, for example,

dMsaP would be replaced with dMsfA
DmsAp would be replaced with DmsFa


but would not want to have to know every possible case in advance,
would want the replace action to figure it out.

May 4 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.