jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Extracting a part of string using RegEx.
Date Wed, 26 May 2010 15:30:56 GMT
Or:

item_handle_param=([^']+)'

[^']  means anything except ' (which is the terminator here)

On 26/05/2010, Evandro Grezeli <grezeli.evandro@gmail.com> wrote:
> try using this one:
>
>  item_handle_param=(.+?)'
>
>  On Wed, May 26, 2010 at 12:15 PM, GautamPr <gautampriyaranjan@gmail.com>wrote:
>
>
>  >
>  > I have a string as follows
>  >
>  > <TD CLASS="datatable-href-cell">
>  >
>  > javascript:formsubmit('eds_open_generic_open_link?item_handle_param=MTIObjectHandle-0002-1%7ER%7EigDloIcCH-BadadmDB---aCT%7ET2StrDoc%7ECORPDB%7E%7E')
>  > HTCT105231,83,C,1 </TD>
>  >
>  > I would like to extract the text
>  >
>  > MTIObjectHandle-0002-1%7ER%7EigDloIcCH-BadadmDB---aCT%7ET2StrDoc%7ECORPDB%7E%7E
>  > using Regular expression extractor.
>  >
>  > I have tried (MTI(.+\w)\'), which gives
>  >
>  > MTIObjectHandle-0002-1%7ER%7EigDloIcCH-BadadmDB---aCT%7ET2StrDoc%7ECORPDB%7E%7E'
>  > but i dont want to have ' how do i do it.
>  > --
>  > View this message in context:
>  > http://old.nabble.com/Extracting-a-part-of-string-using-RegEx.-tp28682203p28682203.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
>  >
>  >
>
>
>
> --
>  Atenciosamente
>  Regards
>  Evandro Grezeli de B. Neves
>

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