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

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

Post Reply
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 » Sat Jan 13, 2007 2:50 am

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

Post by DataMystic Support » Wed Jan 17, 2007 11:03 am

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

Code: Select all

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.

Simon Carter, - Insulin dose calculator for Type 1 diabetes - 250,000 free software downloads

Post Reply