^(?:(?!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?
More Related Contents:
- Regular expression to match a line that doesn’t contain a word
- Regular expression for a string containing one word but not another
- How to negate the whole regex?
- Regular expression that doesn’t contain certain string [duplicate]
- How to exclude a specific string constant? [duplicate]
- Regex: match pattern as long as it’s not in the beginning
- Regex – Does not contain certain Characters
- How can I match a pattern as long as it’s not at the beginning with regex?
- Negate characters in Regular Expression [closed]
- Regex to get the words after matching string [duplicate]
- Regex: Matching by exclusion, without look-ahead – is it possible?
- Unix grep regex containing ‘x’ but not containing ‘y’
- How do I turn any regex into an complement of itself without complex hand editing?
- Regex to validate date formats dd/mm/YYYY, dd-mm-YYYY, dd.mm.YYYY, dd mmm YYYY, dd-mmm-YYYY, dd/mmm/YYYY, dd.mmm.YYYY with Leap Year Support
- What is the ultimate postal code and zip regex?
- isnumeric() with PostgreSQL
- regex to match a word with unique (non-repeating) characters
- Is it possible to define a pattern and reuse it to capture multiple groups?
- What’s the technical reason for “lookbehind assertion MUST be fixed length” in regex?
- Regular expression to match last number in a string
- Regex for comments in strings, strings in comments, etc
- Matching math expression with regular expression?
- How do I use a regex in a shell script?
- Convert to lowercase in a mod_rewrite rule
- Insert a newline character every 64 characters using Python
- Replace with whole match value using Notepad++ regex search and replace
- Is there any way to put malicious code into a regular expression?
- Replace all whitespace with a line break/paragraph mark to make a word list
- Why do regex engines allow / automatically attempt matching at the end of the input string?
- Apache mod_rewrite REDIRECT_STATUS condition causing directory listing