Easiest way to replace a substring in javascript

Posted by acidzombie24 on Stack Overflow See other posts from Stack Overflow or by acidzombie24
Published on 2010-04-10T23:50:11Z Indexed on 2010/04/10 23:53 UTC
Read the original article Hit count: 204

Filed under:
|

Whats the easiest way in javascript to replace ABC, DEF, GHI with XYZ in the following strings

http://z.site.com/z/ABC/z/z.html
http://z.site.com/z/DEF/z/z.html
http://z.site.com/z/GHI/z/z.html

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about regex