[PHP] pobierz, plaintext <?php function get_ip($ip){ preg_match_all('/192.168.2.?[^ ]+/i',$ip, $matches, PREG_SET_ORDER); print_r($matches);} ?>[PHP] pobierz, plaintext
[PHP] pobierz, plaintext <?phppreg_match( '/.([0-9]+)$/', $ip, $out );echo $out[ 1 ];?>[PHP] pobierz, plaintext