Top "Regex-lookarounds" questions

Regular expression lookarounds are zero-width assertions that verify conditions about the context of a match at the current match position.

Javascript regex (negative) lookbehind not working in firefox

I need to modify the following javascript regex because the negative lookbehind in it throws an error in firefox: content = …

javascript regex firefox regex-lookarounds
Regex matching multiple negative lookahead

I'm trying to match a string (using a Perl regex) only if it doesn't start with "abc:" or "defg:", but …

regex perl regex-lookarounds
Regular expression to find first match only

I have this text :- SOME text, ..... Number of successes: 3556 Number of failures: 22 Some text, ..... Number of successes: 2623 Number of …

regex search regex-lookarounds regex-greedy text-search
Regular expression for email masking

I am trying to write a regular expression to mask an email address. Example below. input: [email protected].…

java regex regex-lookarounds
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
What are the differences between perl and java regex capabilities?

What are the differences between perl and java with regard to what regular expression terms are supported? This question is …

java regex perl regex-lookarounds
Regex - lookahead assertion

I have problem with lookahead assertion (?=). For example, I have expression: /Win(?=2000)/ It match Win, if expression is like Win2000, …

regex regex-lookarounds
Positive lookahead to match '/' or end of string

I'm trying to do a positive lookahead to match an object ID in a given URL, regardless of where that …

regex regex-lookarounds