Thanks man that worked great. Now, for future reference, what would that string look like if I wanted just periods, numbers, and commas?
Use this I hope it will help you to solve your problem. $text = preg_replace('/[^\.0-9]/', null, $text); If you hve a problem let me know. thanks
Yeah nico I had it working after your second post. I just asked how I would add the "," to that so I know how to use the function. I was unclear on how to sort out certain things.