Codice PHP:<?php
$str = "The ring [AGK203941] [1/11]";
preg_match('/([A-Za-z0-9\[\] ]+)\[(\d+)\/(\d+)\]/', $str, $matches);
echo $matches[1]." - ".$matches[2]."/".$matches[3];
?>
Codice PHP:<?php
$str = "The ring [AGK203941] [1/11]";
preg_match('/([A-Za-z0-9\[\] ]+)\[(\d+)\/(\d+)\]/', $str, $matches);
echo $matches[1]." - ".$matches[2]."/".$matches[3];
?>
"Mai discutere con un idiota. Ti trascina al suo livello e ti batte con l'esperienza." (Oscar Wilde)