- Posted by
- I need to remove duplicates only from consecutive lines, preferably not through a macro because it's a few thousand files. Basically I need to change this: a = a * 2 a = a * 2 a = a + b a = a * 2 to this: a = a * 2 a = a + b a = a * 2 I tried this as a Unix style find/replace: Find: ^(.*)(\p\1)+$ Re...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- peterob
Feb 15, 2006