jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nithya Prakash <nithyaprakas...@gmail.com>
Subject Re: Using Regular Expression Extractor to extract the "id"
Date Wed, 16 Jun 2010 06:41:46 GMT
Hi

Its fails for the whole expression...I dunno whether am going wrong in
writing the expression.
the scenario is like this...

Am adding a team member to my team. so when i add another user to this team
i get the following syntax in my source code         "
[{id:"94",displayName:"sa,sa"},{id:"134",displayName:"rrr,sss"}] "....

When i take this syntax which Regular Expression i have to use??

Thanks & Regards
Nithya

On Wed, Jun 16, 2010 at 10:53 AM, Nagusoft <nagusoft.22@gmail.com> wrote:

>
> Hi,
> Can u specify where it fails...whether in (\d+) or  in extracting (.+?)   .
>
> Nithya Prakash wrote:
> >
> > Hello People,
> >
> > Thanks for your solutions. Am finding difficulty in using the Regular
> > Expression Extraction for the following syntax
> >
> >                       "
> > [{id:"94",displayName:"sa,sa"},{id:"134",displayName:"rrr,sss"}] "
> >
> > Which expression exactly we should in order to get the required output.
> > I tried using
> >
> >                         "
> > [{id:"(\d+)",displayName:"(.+?)"},{id:"(\d+)",displayName:"(.+?)"}] "
> >
> > I'm not able to get the required output. Could you held me out please.
> >
> > Thanks & Regards
> > --
> > Nithya Prakash.L
> > nithyaprakash86@gmail.com
> > +919623320453
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Using-Regular-Expression-Extractor-to-extract-the-%22id%22-tp28861851p28898958.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>


-- 
Nithya Prakash.L
nithyaprakash86@gmail.com
+919623320453

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message