Variance of Restrict to Lines

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

Cratos
Posts: 1
Joined: Sat Mar 04, 2006 7:29 am

Variance of Restrict to Lines

Postby Cratos » Sat Mar 04, 2006 7:35 am

Is there a Restriction filter (or workaround) that will limit the code to be processed based on a "start" identifier and terminated by an "end" identifier, the identifiers being specific literals in the text?

For example:
When the text "DATA DIVISION" is encountered, perform all sub-filters until the text "WORKING-STORAGE SECTION" is found. The number of lines between the start identifier and the end identifier is not constant within different files.

Thanks.

User avatar
DataMystic Support
Site Admin
Posts: 2164
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Postby DataMystic Support » Thu Mar 09, 2006 8:04 am

Yes - just use a search/replace as the Restriction.
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 9 guests