JavaScript regexp test

04:10 0 Comments A+ a-

<html>
<body>

<script type="text/javascript">
var patt1=new RegExp("e");

document.write(patt1.test("The best things in life are free"));
</script>

</body>
</html>

Result