const isPhone = (val) => { var mobileCheck=/^1[2|3|4|5|6|7|8|9]\d{9}$/; return mobileCheck.test(val) }