replace Method
Replaces the text found by a regular expression with other text.
Syntax
stringObj.match(rgExp, replaceText)
Arguments
Remarks
The result of the replace method is a copy of stringObj after all replacements have been made.
The method updates the contents of the RegExp object.
Copyright © 2000 Chili!Soft