Top "Negative-lookbehind" questions

In regular expressions, negative lookbehind checks if the character before the current character does NOT match a certain character.

Javascript: negative lookbehind equivalent?

Is there a way to achieve the equivalent of a negative lookbehind in javascript regular expressions? I need to match …

javascript regex negative-lookbehind
How to use Negative Lookahead in Regex to Delete unwanted Lines

I need help regarding using negative lookahead. I am using Notepad++ and I want to delete all lines except the …

regex notepad++ negative-lookahead negative-lookbehind
Python Regex Negative Lookbehind

The pattern (?<!(asp|php|jsp))\?.* works in PCRE, but it doesn't work in Python. So what can I do …

python regex pcre negative-lookbehind
Regular expression using negative lookbehind not working in Notepad++

I have a source file with literally hundreds of occurrences of strings flecha.jpg and flecha1.jpg, but I need …

regex notepad++ regex-lookarounds negative-lookbehind
Lookbehind on regex for VBA?

Is there a way to do negative and positive lookbehind in VBA regex? I want to not match if the …

regex vba lookbehind negative-lookbehind
How to exclude a string in the middle of a RegEx string?

I have a lot of PHP class files, that contain methods like findFoo(). I want to find (with the RegEx …

regex regex-negation regex-lookarounds negative-lookahead negative-lookbehind
Javascript regex: find a word NOT followed by space character

I need javascript regex that will match words that are NOT followed by space character and has @ before, like this: @…

javascript regex negative-lookahead negative-lookbehind