How to find all the numbers in the line after the semicolon?

Help out, last gyrus Dolman, a bunch I read but never entered.

String example:
"8 iPhone; CPU iPhone OS 11_4_1 like Mac OS X; TELE2RU-SUBSCRIBER-POOL-NET; Tele2 Russia IP Network (NIN)"

You need to find all the numbers after the first semicolon. How to find everything after the first ";" - found how to find all the numbers found, merge can't (
April 19th 20 at 12:03
1 answer
April 19th 20 at 12:05
// $str - the original string
$second = explode(';', $str)[1];
$number = filter_var($second, FILTER_SANITIZE_NUMBER_INT);

Find more questions by tags Regular expressionsPHP