The regex you mentioned should work - unless you have mistakenly left a trailing space or something like that. "&" does not require escaping but "." usually does.
Use View Results Tree and select RegExp Tester from the combo box in the bottom for quicker debugging Nermin -----Original Message----- From: testerinCO [mailto:[email protected]] Sent: Tuesday, November 15, 2011 7:16 PM To: [email protected] Subject: Help with Reg Expression Hello How can I capture the information after the "=" sign up to the ampersand sign. openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0& Here is my reg exp statement Reference Name: OPENID.NS Regular Expression: openid.ns=(.+?)& Template: $1$ Match No: 1 Default Value: Not found. It always prints "Not found". Do I have to escape certain characters? Thanks for your help. -- View this message in context: http://jmeter.512774.n5.nabble.com/Help-with-Reg-Expression-tp4995226p499522 6.html 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]
