SAI YEWALE

Generation

typingsThu, 15 Dec 2022

regular expression for mobile no. length must be 10 in javascript

typescript var mobileNo = /^\d{10}$/; if (mobileNo.test(phone)) { return true; }

Questions about programming?Chat with your personal AI assistant