On OSX grep can I use look ahead?
grep in macOS does not support lookahead. For more information about the regex syntax supported in the default macOS binaries, see re_format(7).

If you need to use such a regex, you can install GNU grep with Homebrew (brew install grep) and use the -P option to enable Perl regex syntax which does support your regex.