Case Insensitive Search with Sensitive Replace

E

ericswebber

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,

(e-mail address removed)
 
E

ericswebber

An example would be the following:

find ANY case of string:

dmsap

and replace with:

dmsfa

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

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

etc...

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top