@balancedcircular said:
Hello. I have a file in which are certain elements with their names. As I want to change names, need the most efficient way to do it.
It looks like this: Name=“109 B29/Web 3”
There is about 1000 of these names, but I would like to select all cases under quotation marks that come after Name=, delete first 4 places, and instead of Web 3 put W3.
So, Name=“109 B29/Web 3” should look like Name=“B29/W3”.
Is it possible?
Try this:
First, make a backup copy of your file in case something goes wrong and you don’t notice it right away.
Open the file in Notepad++.
Select from the main menu Search | Replace.
Fill in the dialog this way:
Find what: Name="\d\d\d (.*/W)eb\h
Replace with: Name="$1
Match case not checked
Wrap around checked
Search Mode: Regular expression
. matches newline not checked
then click Replace All.
Examine carefully and see if that did what you wanted. If it didn’t, make a note of what went wrong, close the file without saving, and tell us what wasn’t right.