I have this expression to get the matched word outside an HTML tag like this, but it does not work in Safari.\ It gives me a negative look behind the error.
const regex = new RegExp(`((?!<[^>]*)send(?<![^>]*<))`,'gi'); => /((?!<[^>]*)send(?<![^>]*<))/gi
There is an alternative to archive the same result?