Hi,

I've finally opted for a bean shell post processor:
import java.util.regex.*;

------------------< cut here >------------------------------------
print("${url}");

prout = ${url};
patternStr = "&amp;";
replacementStr = "&";

// Compile regular expression
pattern = Pattern.compile(patternStr);

// Replace all occurrences of pattern in input
matcher = pattern.matcher(prout);
output = matcher.replaceAll(replacementStr);
print("output : " + output);
------------------< cut here >------------------------------------

However it seems to not find ${url} when  assigning it to prout variable ...

Do you know a way to do it ?

Regards,
75Blured.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to