Javascript Reference
Categories: RegExp

javascript RegExp multiline

@March 15, 2008, 1:22 a.m.
multilineFirefox/Netscape/NN 4 IE 5(Mac)/5.5(Win) ECMA 3  

Read/Write  

If the search extends across multiple lines of text, the multiline property is set to true. A search through text in a textarea element, for example, is multiline. The short version is $*.

 
Example
 
if (RegExp.multiline) {
    ...
}
 
Value

Boolean.


Powered by Linode.