Perl regular expressionsEditCreated 2007-03-22, updated 2020-03-12Negative (fixed-width) lookbehind /(?<!foo)bar/ Matches "bar" only if not preceded by "foo". Match only horizontal whitespace \h perlwiki