Language Reference |
See Also Applies To
Performs a search on a string using the supplied Regular Expression object.
The match method syntax has these parts:
Part Description stringObj Required. The String object or literal on which to perform the search. rgExp Required. The regular expression to use in the search.
The match method, which behaves like the exec method, returns an array of values.
Element zero of the array contains the last matched characters. Elements 1...n contain matches to any parenthesized substrings in the regular expression.
The method updates the contents of the RegExp object.
© 1997 by Microsoft Corporation. All rights reserved.
|file: /Techref/inet/iis/jscript/htm/js824.htm, 2KB, , updated: 1997/9/30 03:45, local time: 2017/12/11 05:20,
|©2017 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.sxlist.com/techref/inet/iis/jscript/htm/js824.htm"> match Method</A>
|Did you find what you needed?|
Welcome to sxlist.com!
& kind contributors
just like you!
Please don't rip/copy
Copies of the site on CD
are available at minimal cost.
Welcome to www.sxlist.com!