I am having a text box to enter value for session creation. I need to make restrictions for not allowing any kind of alphabets and special characters. As I need to enter value such as '2016_2017' and not anything else apart from this.
How can I validate for alphabets and any other special characters. Please Help.