RegExp,$* (1) : RegExp Object : Regular Expressions JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Regular Expressions » RegExp Object »

 

RegExp,$* (1)









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>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Regular Expressions
» RegExp Object