How to delete lines based on frequecny of appearance
Posted: Mon Feb 20, 2012 2:57 am
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 his
3. A is the owner
4. An elephant
§ 511 Liability to Trespassers
§ 512 Liability to Trespassers for Negligence
1. A's pasture
2. A chains a
§ 513 Liability to Licensees and Invitees
§ 514 Harborers of Wild Animals or Abnormally Dangerous Domestic Animals
§ 515 Plaintiff's Conduct
§ 516 Watchdogs
§ 517 Animals Kept in Pursuance of a Public Duty
§ 518 Liability for Harm Done by Domestic Animals That Are Not Abnormally Dangerous
§ 519 General Principle
1. A, with
§ 520 Abnormally Dangerous Activities
I want to delete all but the last line that starts with the § symbol for each group. The results should be as follows:
§ 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 his
3. A is the owner
4. An elephant
§ 512 Liability to Trespassers for Negligence
1. A's pasture
2. A chains a
§ 519 General Principle
1. A, with
§ 520 Abnormally Dangerous Activities
Is this at all possible?
§ 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 his
3. A is the owner
4. An elephant
§ 511 Liability to Trespassers
§ 512 Liability to Trespassers for Negligence
1. A's pasture
2. A chains a
§ 513 Liability to Licensees and Invitees
§ 514 Harborers of Wild Animals or Abnormally Dangerous Domestic Animals
§ 515 Plaintiff's Conduct
§ 516 Watchdogs
§ 517 Animals Kept in Pursuance of a Public Duty
§ 518 Liability for Harm Done by Domestic Animals That Are Not Abnormally Dangerous
§ 519 General Principle
1. A, with
§ 520 Abnormally Dangerous Activities
I want to delete all but the last line that starts with the § symbol for each group. The results should be as follows:
§ 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 his
3. A is the owner
4. An elephant
§ 512 Liability to Trespassers for Negligence
1. A's pasture
2. A chains a
§ 519 General Principle
1. A, with
§ 520 Abnormally Dangerous Activities
Is this at all possible?