View Single Post
 
Old 01-05-2017, 02:11 PM
noname91 noname91 is offline Windows 7 64bit Office 2007
Novice
 
Join Date: Jan 2017
Posts: 6
noname91 is on a distinguished road
Question Renaming several strings of text by their pattern

Hello to all.

I'd like to ask if Word 2007 (or any application you might be aware of) has a feature which will allow me to rename a string within a text file. For example, I have the following:

global.test_1 = 1\2\3\sample_1.xxx
global.test_2 = 1\2\3\sample_2.xxx
global.test_3 = 1\2\3\sample_3.xxx

which I'd like to rename as:

FTEST(global.test_1)
FTEST(global.test_2)
FTEST(global.test_3)

Note that there are a couple hundred of such items that I'd like to rename. How would I go about doing so without extensive copy-pasting? I've tried googling for the solution but have been unsuccessful thus far.

Thank you for any help.
Reply With Quote