<?php $line = "string string 4-string string string 12345 string 678249 string "; if (preg_match('/\b\d{4,}\b/', $line, $matches)) { var_dump($matches); }
You have javascript disabled. You will not be able to edit any code.