Regular Expression to exclude set of Keywords

^(?:(?!boon\.ini|http).)*$\r?\n?

(taken from RegexBuddy‘s library) will match any line that does not contain boon.ini and/or http. Is that what you wanted?

Leave a Comment