Hi,,

Tried that but couldn't get it to work...

-----Original Message-----
From: Noam Paz [mailto:[EMAIL PROTECTED] 
Sent: 03 February 2006 16:12
To: JMeter Users List
Subject: Re: Another Regular Expression question!


Hi,
try the following:

(?s)(<PRE>TTT(.*?)</PRE>)

Best regards / Viele Grüße

Noam Paz




                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                              
             "Steve Gilbert" <[EMAIL PROTECTED]>                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                 
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                              
             03.02.2006 16:51                                                   
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                           To 
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
       "JMeter Users List" <[email protected]>                     
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                              
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                           cc 
                                                                                
                                                                                
                                     Please respond to                          
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                              
                                                                                
                                                                                
                   "JMeter Users List" <[email protected]>         
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                      Subject 
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
       Another Regular Expression question!                                     
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                              
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                              
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                              
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                              
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                              
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                              
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                              




Hi All,,

Hope you can help,, I'm not too good with Regular Expressions so would
very much appreciate anyone who can help!!

Below is an example of a (part) response I get for the software under
test.

I am trying to retrieve the long string in between the <PRE> and </PRE>
(near the end of the response)

The string can vary in length and contents; the only thing that is
constant is that it will start with a 'TTT'

Thanks

Steve

      <td colspan=4 align=left class="PROMPTBLACK">Fri Feb 03 15:44:51
GMT 2006</td>
    </tr>
  </table>
<hr/>
</body>
</html>


<H3>Token Generation Response</H3>
<table cellspacing="2" cellpadding="2" border="0" width="50%">
  <tr>
    <td class="PROMPTBLACK">isSuccessful</td>
    <td class="PROMPTBLACK">
      true

    </td>
  </tr>
  <tr>
    <td class="PROMPTBLACK">Error Message</td>
    <td class="PROMPTBLACK">


    </td>
  </tr>
  <tr>
    <td class="PROMPTBLACK">Response Content Type</td>
    <td class="PROMPTBLACK">
      text/plain

    </td>
  </tr>
  <tr>
    <td class="PROMPTBLACK">Response Data</td>
    <td class="PROMPTBLACK">

<PRE>TTT22-->849831523748546811210fCMfzNnBDhqGaM5DeCW7iw==DO+n4M4sRlNtJl
EtePG8ygptCJ34/fUhkLcy5vA4tlG1wBE75SxSgZVSOUzCkKnMTOTfG78dRK9gn7rqVfX8BF
D6c+5lee+lKH1K5lOVvHAxnVdCNkt3i8dy1gqXgv9Js8YPVM0DFtCCCAxLaquHBGZ4LRMZxI
ZBnICmJ08iqeCcBjenw/lLDTHD2yP05wzZGOVzZ999qsh1/aym6whNvJv2GscXZmSlRl7/6k
OvgD3f3rfS4M1vk8JHOWAPrq970fuduEyWCiPqW/B2JxbcjZnRPzAG9FDrokMw9C2Drg1Qd4
4qCwGFvUXxL83EiaKbM4pCTbBWYyHK7qiNzXanLA==</PRE>

    </td>
  </tr>
</table>

</body>
</html>

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





--

Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte 
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail 
irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und 
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte 
Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden.



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


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

Reply via email to