if (!form1.txtfname.value.match(/^[a-zA-Z]+$/)) { document.getElementById('<%= lblfnamejs.ClientID%>').innerText = "Enter a valid name"; return false;
^[a-zA-Z']+$
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)