24.158. RegExp.source: the text of the regular expressionECMAScript v324.158.1. Synopsisregexp.source 24.158.2. Descriptionsource is a read-only string property of RegExp objects. It contains the text of the RegExp pattern. This text does not include the delimiting slashes used in regular-expression literals, and it does not include the "g", "i", and "m" attributes. |