Regular expression Library[
^]
Check here if you get your requirement.
But if you only want Capital letters, then you can use ASCII codes and check in the javascript and then allow the call to happen else show an alert or error message from the javascript itself.
Hope this helps
Thanks.:)