Page 1 of 1

is this the right prog for me ?

Posted: Tue May 12, 2009 4:47 am
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 ?

Re: is this the right prog for me ?

Posted: Tue May 12, 2009 8:34 am
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 []