is this the right prog for me ?

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

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

is this the right prog for me ?

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

Re: is this the right prog for me ?

Postby 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 []
   
Regards,

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments


Return to “TextPipe Tips and Tricks, Questions and Support”

Who is online

Users browsing this forum: No registered users and 1 guest