Validate Phone Number
validatePhoneNo(num) {     var phonenum = /^\d{10}$/;     var str = num;    ...
Tags: javascript, beginners, programming, regex