How can I get the last match in regular extracor expression in jmeter?
问题 I would like to extract the last occurence of regular expression in Jmeter. I used Regular Extractor expression to do this, but I can't got the last occurence. I tried this : Regular expression : "var1":([^"]+),"var2" Template : $1$ Match No : -1 Default value : expression_matchNr Then in my script I used ${expression} variable I've tested expression_matchNr but it give me the number of match. What should I put in " Match No: " ? Thanks in advance 回答1: If you have the following output: