<?php$s = "fds;43bgf9bvc=gfdgjhk132";preg_match_all('@([0-9])+@', $s, $m);$liczby = $m[0];print_r($liczby);
Standard input is empty
Array ( [0] => 43 [1] => 9 [2] => 132 )
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!