javascript RegExp lastIndex
| lastIndex | NN n/a IE 4 ECMA n/a |
| Read/Write | |
|
This is the zero-based index value of the character within the string where the next search for the pattern begins. In a new search, the value is zero. You can also set the value manually if you wish to start at a different location or skip some characters. This property is echoed in the regular expression object instance, and is supported there in Navigator. |
|
| Example | |
myRE.lastIndex = 30; |
|
| Value | |
|
Integer. |
|
Previous: javascript RegExp lastMatch
Next: javascript RegExp input
1654,Nickname,Homepage or email,Comments here,Add comment
