Excel has native regex support, and it works exactly how you'd expect.
You can download actual release of our JavaScript library and the use it for your project or you can fork our repository.