Skip to content Skip to sidebar Skip to footer

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:mynumRegular Expression:value="(.+?)"Template:$1$Match No.:1

If you specify using a Match No:, the rules are as follows:

0= Random Match1=FirstMatch2=SecondMatch
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"