Regex
Represents a compiled regular expression. Provides functions to match strings in text with a pattern, replace the found occurrences and split text around matches.
For pattern syntax reference see Pattern.
Represents a compiled regular expression. Provides functions to match strings in text with a pattern, replace the found occurrences and split text around matches.
For pattern syntax reference see MDN RegExp and http://www.w3schools.com/jsref/jsref_obj_regexp.asp.
Represents a compiled regular expression. Provides functions to match strings in text with a pattern, replace the found occurrences and split text around matches.
Constructors
Creates a regular expression from the specified pattern string and the default options.
Creates a regular expression from the specified pattern string and the default options.
Creates a regular expression from the specified pattern string and the specified single option.
Creates a regular expression from the specified pattern string and the specified single option.
Creates a regular expression from the specified pattern string and the specified single option.
Creates a regular expression from the specified pattern string and the specified set of options.
Creates a regular expression from the specified pattern string and the specified set of options.
Creates a regular expression from the specified pattern string and the specified set of options.
Types
Functions
Indicates whether the regular expression can find at least one match in the specified input.
Returns the first match of a regular expression in the input, beginning at the specified startIndex.
Returns a sequence of all occurrences of a regular expression within the input string, beginning at the specified startIndex.
Attempts to match the entire input CharSequence against the pattern.
Replaces all occurrences of this regular expression in the specified input string with specified replacement expression.
Replaces the first occurrence of this regular expression in the specified input string with specified replacement expression.