<html>
<body>
<script type="text/javascript">
var str="That's hot!";
var patt1=/h.t/g;
document.write(str.match(patt1));
</script>
</body>
</html>