Regex To Extract Html Attribute Value
I have the following HTML TO : <
Solution 1:
Using JMeter, use Regular Expression Extractor to achieve this task.
Reference Name: mynum
Regular Expression: value="(.+?)"
Template: $1$
Match No.: 1
If you specify using a Match No:
, the rules are as follows:
0 = Random Match
1 = First Match
2 = Second Match
etc....
And then you can use the corresponding variable to access the match. ${mynum_1}
Post a Comment for "Regex To Extract Html Attribute Value"