开发者

Regex to generate only numbers

I need a regular expression to generate numbers for the variable 'session.ID=2211090' and I am going to use this regex in Jmeter开发者_StackOverflow's post Processor-Regular Expression Extractor.

Thanks in advance for your help.


If you mean a regular expression to extract those numbers, then this should do it: session.ID=(\d+)

If you're replacing, replace with just $1 or \1, depending the language. Or if you're just wanting to use the numbers, then use the first capture, however you do that in the language you're using.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜