Unfortunately lookbehind is not fully supported in all browsers/JS engines yet. This bit me a while back when I was working on a problem that would have been a simple fix with lookbehind 😕
They are coming, though! Lookbehind is currently a stage 4 proposal.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.