Hi Could somebody help me with getting proper math from multi-line response? Lets say I have following response: ... <table> <tr> <td>PRODUCT_NAME_1</td> <td> NEEDED_PARAMETER1 View </td> <td> NEEDED_PARAMETER2 Detail </td> </tr> <tr> <td>PRODUCT_NAME_2</td> <td> NEEDED_PARAMETER1 View </td> <td> NEEDED_PARAMETER2 Detail </td> </tr> ... So I need get NEEDED_PARAMETER1, and NEEDED_PARAMETER2 for PRODUCT_NAME_1 (I don't knew is it first element in table or not? I just knew the name). For now I come up with following solution - specify number of "\n" manually. So my PegExp looked like: RegExp=$PRODUCT_NAME_1.*?\n.*?href="(.*?)">View.*?\n.*?href="(.*?)">Detail Template=$1$$2$
It works fine, but what I want to do it's create RegExp which would not depends of \n amount. So for example such RegExp as PRODUCT_NAME_1((.|\n)*?)href="(.*?)">View((.|\n)*?)href="(.*?)">Detail - works fine and return desired result as third and sixth subgroups ($3$ $6$ - in Jmeter). But this regexp doesn't work in Jmeter. Could somebody help me with it? TIA!! -- View this message in context: http://www.nabble.com/RegExp-through-multi-line-response--tp20125397p20125397.html Sent from the JMeter - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]