1.

What Are The Properties Of Regexp Object?

Answer»

Following are the properties of RegExp object:

Pattern: The Pattern method REPRESENTS a string that is USED to define the regular expression and it should be set before using the regular expression object.

IgnoreCase: A Boolean property that represents if the regular expression should be tested against all possible matches in a string if TRUE or false. If not specified explicitly, IgnoreCase VALUE is set to False.

GLOBAL: A Boolean property that represents if the regular expression should be tested against all possible matches in a string. If not specified explicitly, Global value is set to False.

Following are the properties of RegExp object:

Pattern: The Pattern method represents a string that is used to define the regular expression and it should be set before using the regular expression object.

IgnoreCase: A Boolean property that represents if the regular expression should be tested against all possible matches in a string if true or false. If not specified explicitly, IgnoreCase value is set to False.

Global: A Boolean property that represents if the regular expression should be tested against all possible matches in a string. If not specified explicitly, Global value is set to False.



Discussion

No Comment Found