Weak test cases - passes incorrect results


#1

alpha characters before a starting digit(if it exists) should ideally return zero, but mine returns the number. It still passes all the test cases when I hit submit.