NTLM|
NTLM turn up two candidates,
one for exploring the actual algorythm (as it
provides the ability to implement it for Apache),
and the other more directly answers your question.
It was an interesting (albeit not difficult,
once you know where to look ;-) thing to research.
--
perl -pe "s/\b;([st])/'\1/mg"