binkie:
--------------------------------------------------------------------------------
In a text file, I have a long list of email addresses, one per line.
To be valid, an address should match the regular exporession
^[_a-zA-Z0-9]{1,[EMAIL PROTECTED]
--------------------------------------------------------------------------------No one editor with regexp can't to find that DON'T match. At least for now. In regular expression itself you also can not express negation logic. In all programming languages inverting do by operators not RegExp. For example in Perl you search match =~ or dismatch !~. For your purpose I can advice to do a copy of file and ON COPY do replace your correct regexp to empty line. So you get file with just incorrect emails. -- First get your facts; then you can distort them at your leisure. (c) Mark Twain http://freelens.narod.ru <http://forum.pspad.com/read.php?2,33846,33914> PSPad freeware editor http://www.pspad.com
