Search found 4 matches

by ptravers
Wed Sep 28, 2016 4:04 am
Forum: Scripts
Topic: Zeus Macro for deleting duplicate lines?
Replies: 8
Views: 50710

Re: Zeus Macro for deleting duplicate lines?

Thanks! I didn't realize that you could refer to a regexp pattern-match string within the <find> string.

Given your updated example, I ended up doing a simple REPLACE, finding "^(.*)\n\1$", replacing with "\1". :) Of course, I had to perform the search & replace several times to get rid of the ...
by ptravers
Wed Sep 28, 2016 1:51 am
Forum: Scripts
Topic: Zeus Macro for deleting duplicate lines?
Replies: 8
Views: 50710

Re: Zeus Macro for deleting duplicate lines?

If I understand your script correctly, this macro simply removes multiple blank lines from the file... not the duplicated text *on* the lines...?

Example:
fred@foo.com
mary@foo.com
mary@foo.com
mary@foo.com
tom@foo.com
tom2@foo.com
victor@foo.com
victor@foo.com
william@foo.com
william@msn.com

The ...
by ptravers
Tue Sep 27, 2016 5:11 am
Forum: Scripts
Topic: Zeus Macro for deleting duplicate lines?
Replies: 8
Views: 50710

Zeus Macro for deleting duplicate lines?

I've got a file of a few thousand email addresses and I'd like to delete all the exact duplicates but I can't figure out how to do it... anyone?
by ptravers
Tue Apr 29, 2014 2:40 pm
Forum: Tutorials, Tips and Tricks
Topic: How to do a NOT pattern search?
Replies: 2
Views: 20392

How to do a NOT pattern search?

I want to eliminate all lines from my file that do NOT start with the string "@ClientToken". I know how to search for ^@ClientToken, and that finds each occurrence of the lines that I want to keep... how do I search for lines that do not start with this string? I've tried encapsulating the string to ...