Commvault interview question

Valid number or not from a string