Sorry, I thought you'd gotten the answer in the other thread and was just updating this one to indicate the answer was in that one.
The STREAM::replace command just allows you to change the string which is inserted in place of the matched string in the stream profile. It won't accept multiple tokens. The syntax you're using is accepted in the STREAM::expression command. However, it looks like that command wasn't added until 9.2.
What are you trying to accomplish with the stream profile? Can you configure the find/replace strings in the stream profile attached to the VIP? Else, if you need more dynamic control over the stream expression, can you upgrade to 9.3.x?
Aaron