jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Milamber <milam...@apache.org>
Subject Re: Need help in regular expression
Date Mon, 20 Jun 2011 07:38:44 GMT
Try:

basketReference = "([^"]+)

(don't forget the parenthesis to get value)

Milamber

Le 20/06/2011 08:24, sbhosale a ecrit :
> Hi All,
>
> I want to extract the basket reference number
> (c8320481-79a3-46a9-abba-6541e50ebd9d) from the below string.
>
>       var basketReference = "c8320481-79a3-46a9-abba-6541e50ebd9d";
>
>
> I have tried the couple of reg ex. But not successful.
>
> I have tried 
> 1. basketReference="[a-zA-Z0-9\-]*\"
> 2. \bbasketReference\s=\s\"[a-zA-Z0-9\-]*\"
>
> Please help me in finding the  correct regex.
>
> Thanks,
> Sandeep
>
> --
> View this message in context: http://jmeter.512774.n5.nabble.com/Need-help-in-regular-expression-tp4505421p4505421.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
>
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message