Return to Snippet

Revision: 29646
at August 2, 2010 18:04 by SmpleJohn


Initial Code
preg_replace("/[^0-9]/", "", $string);

Initial URL

                                

Initial Description

                                

Initial Title
PHP - Show only integers using preg_replace

Initial Tags

                                

Initial Language
PHP