3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match_all('/\[(.+?):.*\]/', 'text [Иванов, Петров 1992: 32] text [Иванов2, Петров2 19922: 32] text', $matches); print_r($mathces);

preferences:
40.3 ms | 402 KiB | 5 Q