I want to write a script that looks for a particularly formatted string in the body of a message, process it, and then replace that string with the appropriate output. Is there a standard method for doing this, and if so where? Thanks.