The RegExp,$* property reflects a multiline string search.
This is a Boolean, read-only value that reflects whether or not strings should be searched across multiple lines.
This is the same as using the multiline property.
<html> <body> <script language="JavaScript"> <!-- function getinfo(){ var myPat = new RegExp("the", "i"); var str = document.form1.mytext.value; myArray = myPat.exec(str); alert("RegExp.$* is: " + RegExp.multiline); } --> </script> <form name="form1"> <textarea name="mytext" cols="60" rows="8" onChange='getinfo()'> Change me and click outside to see the result. </textarea> <br> </form> </body> </html>