click below
click below
Normal Size Small Size show me how
JScript RegExp Obj
JScript RegExp object properties and methods
| Question | Answer |
|---|---|
| [RegExp Properties]Specifies if the "g" modifier is set | global |
| [RegExp Properties]Specifies if the "i" modifier is set | ignoreCase |
| [RegExp Properties]The index at which to start the next match | lastIndex |
| [RegExp Properties]Specifies if the "m" modifier is set | multiline |
| [RegExp Properties]The text of the RegExp pattern | source |
| [RegExp methods]Compiles a regular expression | compile() |
| [RegExp methods]Tests for a match in a string. Returns the first match | exec() |
| [RegExp methods]Tests for a match in a string. Returns true or false | test() |