Strip out all non-digit characters from base_number on d2l_template