is this the right prog for me ?

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

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

is this the right prog for me ?

Post by sokkanet » Tue May 12, 2009 4:47 am

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: 2237
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia

Re: is this the right prog for me ?

Post by DataMystic Support » Tue May 12, 2009 8:34 am

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 []

Simon Carter, - Insulin dose calculator for Type 1 diabetes - 250,000 free software downloads

Post Reply