<?php $commit = "[ASFXNB20] [CL: test commit message hey] Some work has been done"; preg_match('/.+\[CL:(.+)\].+$/iu', $commit, $matches); var_dump($matches);
You have javascript disabled. You will not be able to edit any code.