Batch search & replace according to a text file

Subject: Batch search & replace according to a text file
From: "Broberg, Mats" <mabr -at- flir -dot- se>
To: <techwr-l -at- lists -dot- techwr-l -dot- com>
Date: Wed, 23 Nov 2005 22:32:39 +0100

Dear all,

I need to search for approx. 250 different expressions in each and one of approx. 5,000 different XML files. For each match, I need the function to replace the expression with another expression that can be specified in an external text file (where also each original expression is stated). The expression is an if-clause that is surrounded by special tags, so there is no risk expressions in the body text will be replaced.

I suppose this could be done by a script or something like that? Any script experts out there?

Best regards,
Mats Broberg
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Now Shipping -- WebWorks ePublisher Pro for Word! Easily create online
Help. And online anything else. Redesigned interface with a new
project-based workflow. Try it today! http://www.webworks.com/techwr-l

Doc-To-Help 2005 now has RoboHelp Converter and HTML Source: Author
content and configure Help in MS Word or any HTML editor. No
proprietary editor! *August release. http://www.componentone.com/TECHWRL/DocToHelp2005

---
You are currently subscribed to TECHWR-L as archive -at- infoinfocus -dot- com -dot-

To unsubscribe send a blank email to
techwr-l-unsubscribe -at- lists -dot- techwr-l -dot- com
or visit http://lists.techwr-l.com/mailman/options/techwr-l/archive%40infoinfocus.com

Send administrative questions to lisa -at- techwr-l -dot- com -dot- Visit
http://www.techwr-l.com/techwhirl/ for more resources and info.


Follow-Ups:

Previous by Author: Re: A suitable chapter title - THANKS!
Next by Author: RE: Batch search & replace according to a text file
Previous by Thread: Re: A suitable chapter title - THANKS!
Next by Thread: Re: Batch search & replace according to a text file


What this post helpful? Share it with friends and colleagues:


Sponsored Ads