Language Reference |
See Also Applies To
Replaces the text found by a regular expression with other text.
The replace method syntax has these parts:
Part Description stringObj Required. The String object or literal on which to perform the replace. This object is not modified by the replace method. rgExp Required. A Regular Expression object describing what to search for. replaceText Required. A String object or literal containing the text to replace for every successful match of rgExp in stringObj.
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.
© 1997 by Microsoft Corporation. All rights reserved.
|file: /Techref/inet/iis/jscript/htm/js827.htm, 2KB, , updated: 2008/1/31 10:58, local time: 2019/1/19 18:03,
|©2019 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://www.piclist.com/techref/inet/iis/jscript/htm/js827.htm"> replace Method</A>
|Did you find what you needed?|
PICList 2019 contributors:
o List host: MIT, Site host massmind.org, Top posters @20190119
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
Welcome to www.piclist.com!