All I know is to match Shakespeare you'd use: /(bb|[^b]{2})/
:D -----Original Message----- From: sebb [mailto:seb...@gmail.com] Sent: Wednesday, June 08, 2011 11:46 AM To: JMeter Users List Subject: Re: regex to mach a json On 8 June 2011 16:33, zinedine <aspat...@avaya.com> wrote: > It doesn't work as you said, and what I have is a variable JSON, that is why > I need to get it before put it in another request. > I just need a regular expresion that helps me get rid of the [ ] brackets at > the beggining and at the end of the expression...but I don't know how to > make it.. Oops, my second example should have been: \[([^]]+)\] Try http://jakarta.apache.org/oro/demo.html Also see: http://jakarta.apache.org/jmeter/usermanual/regular_expressions.html > -- > View this message in context: http://jmeter.512774.n5.nabble.com/regex-to-mach-a-json-tp4469591p446989 6.html > Sent from the JMeter - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org > For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org