JavaScript Unexpected Quantifier Error in Internet Explorer, but works in Google Chrome
Only Google Chrome supports lookbehind ?<!
So replacing (?<!-)
with [^-]
should do the trick.
Only Google Chrome supports lookbehind ?<!
So replacing (?<!-)
with [^-]
should do the trick.