var a = /hello/; var b = parseInt(prompt("Type your sentence")); if(a.test(b)){ alert("yes"); }
var a
var b
string
integer
var b = prompt("Type your sentence");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)