Help making a filter

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

wheaton31

Help making a filter

Postby wheaton31 » Mon Oct 25, 2004 7:45 am

Im new with the program so please bear with me.

I would like to delete text that falls between two "variables"

such as

*****START*****
I want this to be deleted no matter how many lines of text may fall between the start and end.
*****END*****

I had got really confused trying to understand easy pattern.. tried to find some kind of wildcard or something..

Thanks in advance...

wheaton31

further clarify

Postby wheaton31 » Mon Oct 25, 2004 8:09 am

what I want to end up with is


*********************SAMPLE DATA******


*****END*****
Veterans Affairs
Medical Center
*****START*****
Veterans Afairs Medical Center
blah blah
anywhere, AW 55555-5555
*****END*****
Accredited, Joint Commission on Accreditation of Health Care
Organizations (JCAHO)
Palmerton Hospital
*****START*****
Palmerton Hospital
blah blah
somewhere, SW 55555-5555
*****END*****



reduced down to:

*****END*****
*****START*****
Veterans Afairs Medical Center
blah blah
anywhere, AW 55555-5555
*****END*****
Palmerton Hospital
blah blah
somewhere, SW 55555-5555
*****END*****



Thanks again for the help! GREAT PRODUCT gonna have my company buy this! Have allready found lots of uses.. We are a marketing company and have to "clean" lists often..

[/b]

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

Postby DataMystic Support » Fri Oct 29, 2004 3:47 pm

Using EasyPatterns:

*****START*****[1 or more char]*****END*****

Replace with

*****START*****\r\n*****END*****
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