Extracting two lines if pattern exist in the second line + clean + remove duplicates (Whatsapp extraction)
115046
grep one line before the match plus the match
132560
How to remove common letters in two Strings in iOS SDK?
17305
using perl, how to select last 2 lines in the case of each row has same word?
73908
How can I "merge" patterns in a single line?
79850
Interview - Detect/remove duplicate entries
89793
Match a string against multiple patterns
54061
Removing duplicates in lists
119086
How to break lines in conditions using algorithm2e?
10652
Removal of lines with no more or fewer than 'N' fields?
117829
Extract random sample of N lines based on pattern
10788
Removing duplicates from a String in Java
27245
How to find (and delete) duplicate files
14398
How to grep-inverse-match and exclude "before" and "after" lines
53598
Print lines between (and excluding) two patterns
126315
How to find overlapping matches with a regexp?
90874
how to match two lines and subtract them
26517
Is there a tool to get the lines in one file that are not in another?