I\'ve looked on Stack Overflow (replacing characters.. eh, how JavaScript doesn\'t follow the Unicode standard concerning RegExp, etc.) and haven\'t really found a concrete
The XRegExp library has a plugin named Unicode that helps solve tasks like this.
It's mentioned in the comments to the question, but it's easy to miss. I've noticed it only after I submitted this answer.