1. 3
    How to use JavaScript's String.replace
    5m 26s

How to use JavaScript's String.replace

InstructorKent C. Dodds

Share this video with your friends

Send Tweet

In JavaScript, you can change the content of a string using the replace method. This method signature is overloaded with a bunch of different ways to do string replacement in JavaScript. This lesson covers the entire API (including an interesting DSL for the replacement string).