On 06/05/06, amelaao <[EMAIL PROTECTED]> wrote:
I'm testing a WS using SOAP-RPC Request. I'm extracting part of the WS Response message using RegEx Extractor Post Processor. However, sometimes response message contains newline characters that mess up the RegEx extractor and it can't find the match. I would like to replace newline with "", and I played with Javascript replace function but couldn't get it to work. Any ideas?
I would not do that - better to fix the regex so that it matches new-line. Note that "\s" will match new-line, but "." does not, unless you change to single-line mode. Do this by prefixing the RE with (?s). This is explained on the Response Assertion page. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

