Javascript Reference
Categories: RegExp

javascript RegExp index

@March 15, 2008, 1:22 a.m.
indexFirefox/Netscape/NN n/a IE 4 ECMA n/a  

Read-only  

This is the zero-based index value of the character position within the string where the most recent search for the pattern began. The lastIndex property provides the end position.

 
Example
 
var srchStart = RegExp.index;
 
Value

Integer.


Powered by Linode.