Page 1 of 1

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

Posted: Sat Jan 13, 2007 2:50 am
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.

Posted: Wed Jan 17, 2007 11:03 am
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.