I'm trying to match this regex
(sq.*f|gla|livingarea)
but I want it to not have the letters 'pr' anywhere in there.
so things like sqftpr or pricesqft etc dont' match.
I can prevent pricesqft with negative lookbehind
(?<!pr)(sq.*f|gla|livingarea)
I can't get the negative look behind to work with a negative look ahead. Any idea how I can get both?
(?<!pr)(sq.*f|g.?la|livingarea)(?!pr)
Any idea how I can block on both'pr' on both sides?