Regex not compatible with safari, need help to convert

Hello guys, seems that Safari does not support look behind assertion, so now i have a perfect script that works fine except on Safari, there’s a way to make this perfectly cross-browser?


Use two regexes, one ran after the other.

it is not possible to use unique?

someone could provide an example? i have no experienxe with regex

this is the good work…but with no look behind for safari

It would be very helpful if you showed what you were trying to match. You can’t have lookbehind if you need to support Safari, but you can definitely use something different to match what you want. It’s difficult to know what though without knowing what your aim is.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.