User1520731567 posted
Hi venkatzeus,
According to your descriptiom,I think you could use the below regex:
^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z\.]*$
?![0-9]+$ : Only numbers are not allowed
?![a-zA-Z]+$ : Only alphabets are not allowed
[0-9A-Za-z\.]* : allow alphabets, numbers and Period
how to call it for both the textbox in keypress and how to restrict other special characters
I make a simple demo,you could refer to:
<input class="Inputtext" type="text" onkeypress="runn()" />
<span id="regexVaildate" style="color:#C00; display:none"></span>
<script>
function runn() {
var f1c = $(".Inputtext").val();
var validator = new RegExp('^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z\.]*$');
var runner = validator.test(f1c);
if (runner) {
$("#regexVaildate").css("display", "inline");
$("#regexVaildate").text("right!");
}
else {
$("#regexVaildate").css("display", "inline");
$("#regexVaildate").text("wrong!");
}
}
</script>
How it works:

Best Regards.
Yuki Tao