Ok then how about:
alias filter_num { return $regsubex($1-,/[^0-9]/gi,) }
That seemed to pass the line u gave just fine and a couple other ones I tried.