How to create Capture out of this Code?

Hello,

I have the following code:

<select name="INV_URL" >
<option value="https://SOMESITE.com">Beautiful site</option>
<option value="https://SOMESITE.com">Hello Guys</option>
</select>

How can I use Parse block to create a Capture of those “option values”?
There might be 0 values, 2 values (like in the example) or 10 or more.

Thank you

Use the LR mode asusual , Tick the Recursive box. It will prase all the values as list , you can access the value
varname[0]

Thank you got it working. Now I have another “parse block” question. Its similiar to this question.

<input type="hidden" name="return" value="aW5kZXgucGhwP29wsdfjsifojdiDSJDMmdmlldz1wcm9maWxl">
				
<input type="hidden" name="ab34bai3nj55kjkljghj56pn9" value="1" />			</form>

First expression is static, i.e. its “return”. For every request. Easy to Parse.

Second expression has in total 32 characters, so its seems to be some MD5 hash?
For every request its another hash. How can I parse the second one?

BLOCK:Parse
LABEL:Parse Token
  input = @data.SOURCE
  leftDelim = $"\">    <input type=\"hidden\" name=\""
  rightDelim = $"\" value=\"1\""
  MODE:LR
  => VAR @SECTOKEN
ENDBLOCK

Does not work

select regex

type="hidden" name="return" value=".*">[\s]+<input type="hidden" name="([^>]*)" value="1"

output: [1]
1 Like