I'm trying to use \[code\]preg_replace\[/code\] to remove all characters from a string except for numeric and period characters. I can remove everything but numbers, however how can I make an exception for the '.' period character.Can anyone help me out?