Notepad++ proto edit

04/23/2017 13:08 korcakd1#1
Hey there.
I have a question about notepad++:
Is there any way to make (Name="something") value equal to (LocalizedName="blah blah") value on every line? Like any script or function..?
04/23/2017 14:11 Yiv#2
In Notepad++ open the window where you can search and replace something, tick the last radio button from the search mode group in the bottom left corner ("Regular expressions") and use the search and replace strings from below.

Search string:
Code:
Name="(.*?)" LocalizedName="(.*?)"
Replacement string:
Code:
Name="$2" LocalizedName="$2"
Looks like this:
[Only registered and activated users can see links. Click Here To Register...]

Then click on "Replace all".
That should do the trick.

Regards
04/23/2017 16:18 korcakd1#3
Quote:
Originally Posted by Yiv View Post
In Notepad++ open the window where you can search and replace something, tick the last radio button from the search mode group in the bottom left corner ("Regular expressions") and use the search and replace strings from below.

Search string:
Code:
Name="(.*?)" LocalizedName="(.*?)"
Replacement string:
Code:
Name="$2" LocalizedName="$2"
Looks like this:
[Only registered and activated users can see links. Click Here To Register...]

Then click on "Replace all".
That should do the trick.

Regards
Wow. Thank you very much, helped a lot :)
#lock