[pmwiki-devel] preg_replace question
Stefan Schimanski
sts at 1stein.org
Fri Nov 10 10:38:35 CST 2006
preg_replace( "/[^0-9]/", "", $str )
Stefan
> Hi,
> how do I extract all digits from a mixed string,
> for instance
> abc 123.456de => 123456
> (anything removed but the digits)
>
> Thanks for any help!
> Hans
>
>
> _______________________________________________
> pmwiki-devel mailing list
> pmwiki-devel at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 185 bytes
Desc: not available
Url : /pipermail/pmwiki-devel/attachments/20061110/b87a9c51/attachment.bin
More information about the pmwiki-devel
mailing list