DEV Community

Andrew  Wooldridge
Andrew Wooldridge

Posted on

Link: String.prototype.replace supports replacement patterns

https://www.stefanjudis.com/today-i-learned/string-prototype-replace-supports-replacement-patterns/

This is a very interesting article about an obscure JS feature that lets you use patterns to replace text easily.

Top comments (0)