3v4l.org

run code in 300+ PHP versions simultaneously
<?php $commit = "[ASFXNB20] [CL: test commit message hey] Some work has been done"; preg_match('/.+\[CL:(.+)\].+$/iu', $commit, $matches); var_dump($matches);

preferences:
29.35 ms | 402 KiB | 5 Q