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

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

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.
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

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests