<script type="text/javascript" language="Javascript"> i = /^[O]{1}( {1}RLY)\?{1}$/mi ; j = /^Y(A) {1}RLY[\!.]?$/mi ; q = prompt('O'Reilly? Ya Reilly!'); if (i.test(q)) { alert (q.toUpperCase().replace(i,'YA $1')); } else if(j.test(q)) { alert (q.toUpperCase().replace(j,'NO W$1I!')); } </script>