3v4l.org

run code in 500+ PHP versions simultaneously
<?php $re = '/[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/ui'; $str = "<a href='https://gisp.gov.ru/bpm/service/CS22/request/2b9abf95-ca3e-4570-88b1-4e0914b38e2c' target='_blank'>1875/А/23/2026</a>"; preg_match($re, $str, $matches); // Print the entire match result var_dump($matches[0]);
Output for 8.2.31 - 8.2.33, 8.3.0 - 8.3.33, 8.4.1 - 8.4.24, 8.5.0 - 8.5.9
string(36) "2b9abf95-ca3e-4570-88b1-4e0914b38e2c"

preferences:
48.34 ms | 781 KiB | 4 Q