手机+固话

!(/(^[0-9]{3,4}-[0-9]{3,8}$)|(^[0-9]{3,8}$)|(^([0-9]{3,4})[0-9]{3,8}$)|(^0{0,1}[0-9]{11}$)/.test($.trim($('#tel').val())))

原文地址:https://www.cnblogs.com/whlhaikuotiankong/p/3401073.html