For Programmers: Free Programming Magazines  


Home > Archive > PERL Programming > November 2005 > search and replace in word document









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author search and replace in word document
vittalbabug

2005-11-11, 1:48 am

I hava problem, it has to implemented in any script preferbly PERL.

There are some MS word documents spread recurrsively across folder. In all the documents
there is one common statement. I hv to search that statement in all the documents.
If it is found then i have again search for two specific words in that statement and interchange their locations and save the file.

eg.

search statement:
"URL: dummy/INFORMATION"

search words:
dummy
INFORMATION

result:
"URL: INFORMATION/dummy"

this has to be done for all the docs in all the folders searching recursively.

Plz help me.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com