【发布时间】:2014-11-27 20:38:43
【问题描述】:
我正在尝试从 Jmeter 正则表达式提取器中的字符串中提取最后一个值。
我的字符串
Server.init("asdfasd4ffffasdf", "http://x.x.x.x:8888/", "asdf-U-Yasdf77asdf99");
我只想得到asdf-U-Yasdf77asdf99。
我尝试了类似下面的方法,但不正确:
Server.init\(".+", ".+", "([A-Za-z0-9\-]+)"\);
【问题讨论】:
-
你说你的正则表达式“不正确”是什么意思?你是如何使用它的,你得到了什么结果?