pattern for validation in php how to validate a registration form with jquery php and