can you wrap some of this in a method that explains what's going on here? `gsub(/[^\d\.]/,"")` is not that readable to me