Money pattern implementation (sans currency) for PHP 5.3+