Thread: Find Replace
View Single Post
 
Old 01-14-2024, 07:18 PM
cotech_10 cotech_10 is offline Windows 10 Office 2016
Novice
 
Join Date: Jan 2024
Posts: 1
cotech_10 is on a distinguished road
Smile Find Replace

Hi All,

I am simply trying to run the Find and Replace feature in MS Word undertaking the following:

In my word document I have over 100 lines that have the following type of syntax

Match_2\Level_0\Column1.txt
Match_2\Level_1\Column2.txt
Match_2\Level_2\Column3.txt
Match_2\Level_3\Column1.txt
Match_2\Level_4\Column2.txt
Match_2\Level_5\Column3.txt
Match_2\Level_6\Column1.txt
Match_2\Level_7\Column2.txt
Match_2\Level_8\Column3.txt
Match_2\Level_9\Column1.txt
Match_2\Level_10\Column2.txt


I would like to do a find and replace exercise only on lines that contain the following text : "Column2,txt" and to replace the following text within each line as follows: the text Match_2 is replaced with the text Match_3.

Therefore the modified data would be as below as highlighted in RED:

Match_2\Level_0\Column1.txt
Match_3\Level_1\Column2.txt
Match_2\Level_2\Column3.txt
Match_2\Level_3\Column1.txt
Match_3\Level_4\Column2.txt
Match_2\Level_5\Column3.txt
Match_2\Level_6\Column1.txt
Match_3\Level_7\Column2.txt
Match_2\Level_8\Column3.txt
Match_2\Level_9\Column1.txt
Match_3\Level_10\Column2.txt


Cheers
Reply With Quote