Just on the two text boxes take two regular expression validator control. According to ur Requirement mention the expression with in the properties of the validation controls.U can also place the Requried Field validator control.For Ur Requrement check the following Expressions....: