From http://www.w3schools.com (Copyright Refsnes Data)
JavaScript RegExp Object
The source property returns the text of the RegExp pattern.
| RegExpObject.source |
ExampleReturn the text of the RegExp pattern:
Try it yourself » |
JavaScript RegExp Object
From http://www.w3schools.com (Copyright Refsnes Data)