You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Steve Gilbert <st...@firstondemand.com> on 2006/01/18 11:31:44 UTC
Cant get Regular Expression working
Hi All,,
Afraid I'm another Newbie..
Below is an extract from a response I get,,, I am trying to retrieve the
20 digit number in the middle...
<td class="PROMPTBLACK" width="20%">Response Status</td>
<td class="PROMPTBLACK" width="80%">
SUCCESS
</td>
</tr>
<tr>
<td class="PROMPTBLACK">Response Reference</td>
<td class="PROMPTBLACK">
81119732751598721488
</td>
</tr>
<tr>
<td class="PROMPTBLACK">Response Data</td>
<td class="PROMPTBLACK">
I have tried several regular expressions,, but don't seem to be able to
get the number back..
Can anyone help please!?!?
Thanks
Steve
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Cant get Regular Expression working
Posted by sebb <se...@gmail.com>.
On 18/01/06, Steve Gilbert <st...@firstondemand.com> wrote:
> Hi All,,
>
> Afraid I'm another Newbie..
>
> Below is an extract from a response I get,,, I am trying to retrieve the
> 20 digit number in the middle...
>
> <td class="PROMPTBLACK" width="20%">Response Status</td>
> <td class="PROMPTBLACK" width="80%">
> SUCCESS
>
> </td>
> </tr>
> <tr>
> <td class="PROMPTBLACK">Response Reference</td>
> <td class="PROMPTBLACK">
> 81119732751598721488
>
> </td>
> </tr>
> <tr>
> <td class="PROMPTBLACK">Response Data</td>
> <td class="PROMPTBLACK">
>
> I have tried several regular expressions,, but don't seem to be able to
> get the number back..
What have you tried then?
>
> Can anyone help please!?!?
Try:
(\d{20})
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org