$text =~ s/(\[code\])(.+?)(\[\/code\])/
$2<\/tt><\/div>/isg;