I am using a regular expression validation to validate my form using javascript. my pattern is
/^[a-zA-Z]+[a-zA-Z0-9_]*\\.{0.1}[a-zA-Z0-9_]*/
is this pattern correct for validating "not starting from number","only 1 '.' allowed and then text"?
wat can i use in javascript for validation?? something like preg_match func of php.
I m not familiar with regular expressions so help me and give sum func to do this for me.
i tried to use regexp object but cant get result from .exec,test function.