<?php
$str = "99-01[10-10-2010]
59-06[11-12-2016]
99[333]
3333-ABC[99]88-XX";
echo $str;
PD9waHAKCiRzdHIgPSAiOTktMDFbMTAtMTAtMjAxMF0KNTktMDZbMTEtMTItMjAxNl0KOTlbMzMzXQozMzMzLUFCQ1s5OV04OC1YWCI7Cgokc3RyID0gcHJlZ19yZXBsYWNlKCcvXlxkKy0vcycsICdBTEwtJywgJHN0cik7CgplY2hvICRzdHI7