use regex for floatConverter