How to search and replace and store in Notepad ++?

Is it possible to search and replace a string using Notepad ++ and keep the formatting (small or large caps)?

For example, I have the following lines, which are often used in several files:

UserLogin
USERLOGIN
userlogin

Now I need to name everything "consumer" instead of "user". Like this:

ConsumerLogin
CONSUMERLOGIN
consumerlogin

Is there a way to make this change with only 1 search / replace in Notepad ++? Or do I need to do 3 different searches / replacements?

+4
source share
1 answer

, 3 /, , "" . , 3 , . (Macro > Start/Stop Recording). Macro > Save Currently Recorded Macro .

, !

+1

All Articles