Codice PHP:
<?php
$str 
"The ring [AGK203941] [1/11]";
preg_match('/\[(\d+)\/(\d+)\]/'$str$matches);
echo 
$matches[1]."/".$matches[2];
?>