validatePhoneNo(num) { var phonenum = /^\d{10}$/; var str = num; if((str.match(phonenum))) { return true; } else { return false; } }
For further actions, you may consider blocking this person and/or reporting abuse
validatePhoneNo(num) { var phonenum = /^\d{10}$/; var str = num; if((str.match(phonenum))) { return true; } else { return false; } }
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)