Hi Ravi,

Thanks for reply. But its not working.
Actual text is as follows (from where i have to
extract value)
<a
href="/test/secured/test.jsp?AccountId=fc8f1cef-4a53-11db-accc-57a710334549">

Girishb

--- Ravi Kiran <[EMAIL PROTECTED]> wrote:

> 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]
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to