Try: ^\(\(\<CODE\>\)\...@!.\)*$That is: lines: ^___$ ...that consist of 0 or more characters \(___.\)* ...at which the word CODE: \<CODE\> ...is not matched: \(___\)\...@!
Thank you. That worked perfectly. Regular expressions are tricky. James -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
