Search found 4 matches

by Pat Parker
Sun Mar 18, 2012 6:53 pm
Forum: General
Topic: Macro - how to hard code the Find search criteria
Replies: 3
Views: 570

Macro - how to hard code the Find search criteria

I am a textpad user who has been using it for a long time but I have limited understanding of it. I searched this forum for an answer but can't find it. Here is my problem:

I record a macro that looks for the word "DOG" and deletes any line with that word. Macro works fine until I do another F5 ...
by Pat Parker
Mon Feb 20, 2012 11:53 pm
Forum: General
Topic: How to delete lines based on frequecny of appearance
Replies: 4
Views: 637

Ben:

Thanks. I have very little knowledge or experience with regular expressions, so I certainly stumbled into that solution.

One thing that has perplexed me for some time is how I can select a range of text on multiple lines using regular expression. For example, with the below text, I want to ...
by Pat Parker
Mon Feb 20, 2012 4:28 am
Forum: General
Topic: How to delete lines based on frequecny of appearance
Replies: 4
Views: 637

I solved it from looking at other examples.

I did the following search:
(^§.*)\n(.*^§)

Then do Mark All, and delete them so you only have the relevant section.
by Pat Parker
Mon Feb 20, 2012 2:57 am
Forum: General
Topic: How to delete lines based on frequecny of appearance
Replies: 4
Views: 637

How to delete lines based on frequecny of appearance

I have the following text:

§ 508 Harm Done by Indigenous Wild Animal After Its Escape
§ 509 Harm Done by Abnormally Dangerous Domestic Animals
1. A keeps a dog,
2. A keeps a dog
§ 510 Effect of Contributing Actions of Third Persons, Animals and Forces of Nature
1. A keeps on his
2. A keeps in ...