space and phone number validation

space in input parameters is not allowed added,
and phone number validation has been done