The following are the methods −
|Sr.No||Modifier & Description|
Perform case-insensitive matching.
Specifies that if the string has newline or carriage return characters, the ^ and $ operators will now match against a newline boundary, instead of a string boundary
Performs a global match that is, find all matches rather than stopping after the first match.