how do i remove all text after a given word or phrase?

Get help with installation and running here.

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

Post Reply
nlbakos
Posts: 1
Joined: Sat Jan 13, 2007 2:41 am

how do i remove all text after a given word or phrase?

Post by nlbakos »

i'm doing alot of data entry. i want to beable to tell textpipe pro to find the EXACT word or pharse ex SUMMARY and remove all lines after this word or beable to tell it to remove all lines between specific words. ex SUMMARY and Print this resume. i cannot give a line range because some people will have shorter resumes then others.
User avatar
DataMystic Support
Site Admin
Posts: 2227
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Post by DataMystic Support »

Use a search replace pattern to find the data and replace with nothing e.g.

Code: Select all

ex SUMMARY.*?
this will remove all data after the phrase - just ensure you increase the maximum match buffer size (under the [...] replace options button) so it can match more than 4096 bytes - set it to 40000.
Post Reply