how do i remove all text after a given word or phrase?
Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators
how do i remove all text after a given word or phrase?
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.
- DataMystic Support
- Site Admin
- Posts: 2227
- Joined: Mon Jun 30, 2003 12:32 pm
- Location: Melbourne, Australia
- Contact:
Use a search replace pattern to find the data and replace with nothing e.g.
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.
Code: Select all
ex SUMMARY.*?