RegExp A regular expression object contains the pattern of a regular expression. It has properties and methods for using that regular expression to find and replace matches in strings. In addition to the properties of an individual regular expression object that you create using the RegExp constructor function, the predefined RegExp object has static properties that are set whenever any regular ..