From http://www.w3schools.com (Copyright Refsnes Data)
JavaScript RegExp Object
The multiline property specifies whether or not the m modifier is set.
This property returns true if the "m" modifier is set, otherwise it returns false.
| RegExpObject.multiline |
ExampleCheck whether or not the "m" modifier is set:
The output of the code above will be:
Try it yourself » |
JavaScript RegExp Object
From http://www.w3schools.com (Copyright Refsnes Data)