Case Insensitive Search with Sensitive Replace

  • Thread starter Thread starter ericswebber
  • Start date Start date
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)
 
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.
 
Back
Top