From the HTML code I have to fetch value based on variable passed and option selected. for an example please refer below code:
I have Test F as a variable, using regex extractor I have to fetch value 6666666. Also can we check using regex while fetching value whether variable option is selected or not? I am beginner and learning regex. Please help with regular expression needed.
<option value="11111111">TestA</option>
<option value="22222222">TestB</option>
<option value="33333333">TestC</option>
<option value="44444444">TestD</option>
<option value="55555555">Test E</option>
<option selected="selected" value="6666666">Test F</option>
<option value="77777777">Test G</option>