Generate Regex Pattern From String To Float Php Compiler