Help making a filter

Get help with installation and running here.

Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators

Post Reply
wheaton31

Help making a filter

Post by wheaton31 »

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

Post by wheaton31 »

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

Post by DataMystic Support »

Using EasyPatterns:

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

Replace with

*****START*****\r\n*****END*****
Post Reply