Using String Replace in JavaScript

added by JavaScript Kicks
9/16/2014 3:12:09 PM

194 Views

All string values have a replace(..) method available to them. This method allows you to pass a regular expression (or a string that will be interpreted as the pattern for a dynamically-created regular expression!) to represent what should be found in the main string value for replacing.


0 comments