Name

source — NN 4 IE J3 ECMA n/a

Synopsis

Read-only

Returns a string version of the characters used to create the regular expression. The value does not include the forward slash delimiters that surround the expression.

Example

var myREasString = myRE.source

Value

String.

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.