Hi Raymond,
Probably not the most elegant way but you can create a java-action with a inputparameter string string and result string
return inputstring.replaceAll("#SR#", "\r");
play around with any combination of \r and \n
Take care of tokens that contain characters like
[\^$.|?*+()
because these are special characters in regular expression.
Maybe I am misinterpretting your question, but I think you can achieve this as follows: