in reply to Transforming strange format to XML

hmmm, just wanting the _ _ converted to < >, right? Can't think of how to do that in one line, but
s/\[_/</g s/-\]/>/g
Should be capable of doing it (might be wrong on the escaping.)