<?php //$str = "Diese Seite wurde bisher 6.971 mal abgerufen."; $str = "Diese Seite wurde bisher 19 mal abgerufen."; $matches = array(); preg_match('/\d+(\.\d+)?/', $str, $matches); print_r($matches); var_dump(intval($matches[0]));
You have javascript disabled. You will not be able to edit any code.