DEV Community

Andrew  Wooldridge
Andrew Wooldridge

Posted on

3

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)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay