As far as I am aware, this is in VBA script.
While yes, I could just host the script, I was thinking of something like a text box you put a battle report in, press submit, and get it reformatted for forum or wiki or whatever. All I'd really need is code that can parse a text input and generate a text output. I can build the form and everything else myself.