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.
![]()
The multiline property is supported in all major browsers.
Check whether or not the "m" modifier is set:
The output of the code above will be:
JavaScript RegExp Object
Your message has been sent to W3Schools.