is this the right prog for me ?

Get help with installation and running here.

Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators

Post Reply
sokkanet
Posts: 1
Joined: Tue May 12, 2009 4:36 am

is this the right prog for me ?

Post by sokkanet »

Hi. I'm checking TextPipe out, to see if it fits my needs. What I want, is a program that will be capable to search a bunch of XML files, that are located in various folders. I then want it to find a certain tag, and replace whatever is in between the <start> and </start> tag to be replaced by the foldername, where it is placed!
Will TextPipe be capable of doing this ?
User avatar
DataMystic Support
Site Admin
Posts: 2227
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: is this the right prog for me ?

Post by DataMystic Support »

Yes, this is easy. Use a filter like this:

Code: Select all

Restrict to between tags <START>...</START>
|  [ ] Include text
|  [ ] Match case
|
|--Perl pattern [.*?] with [@fullInputFilename]
|   
+--Perl pattern [[^\]*$] with []
   
Post Reply