I think maybe you mean [0-9].*
(number followed by zero or more characters). You can use capturing parentheses and use the backreference in the substitution.
s/[0-9]\(.*\)/\1/
The \1
will be whatever was captured. Change the replacement expression as needed.
s/getNumber(\([0-9]*\)).*/DontGetNumber(\1).roundDownTenth();