hey girishb,
use this
AccountId="([^"]+)" this extracts all the values that is contained in the
quotes matches even repetitions..
else
AccountId="(.+?) if only one possible match is there
i.e if its like this AccountId="007801561789"
then the value u will extract is 007801561789
hope this will help
kiran
----- Original Message -----
From: "girishb" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, September 23, 2006 1:05 AM
Subject: Regular expression
Hi,
I just like to know how to use regular expression to extract value of
"AccountId" from following href:
/abc/test/test.jsp?AccountId=fc8f1cef-4a53-11db-accc-57a710334549
test_USER0000
Also how to use regular expersion to extract opttion value from following
"<select> ... </select>" text:
<select name="tempIDs" multiple="multiple" size="8
class="formList"><option
value="ca17bac6-4a60-11db-accc-57a710334549"
selected="selected">TestOne</option></select>
Thanks in advance.
Girish R. Bhujbal
--
View this message in context:
http://www.nabble.com/Regular-expression-tf2321843.html#a6459748
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
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]