3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'H: 290‐314 P: 280‐301+330U+200B+331string‐305+351+338‐308+310 [2]'; preg_match_all('~(?:P: |\G(?!^)(?:U\+200B)?[^\d ]+)\K\d+~', $str, $m); var_export($m[0]);

preferences:
29.24 ms | 405 KiB | 5 Q