How to parse this token?

Hello guys, how to parse this token? <input type=“hidden” value=“111-111-111-111-111” name=“token”

<input type="hidden" value="222" name="XXX"
<input type="hidden" value="333" name="ZZZ"
<input type="hidden" value="444" name="CCC"
<input type="hidden" value="111-111-111-111-111" name="token"

As you can see, the string - <input type=“hidden” value=" - it is repeated several times and the one I need is in fourth place.

Thanks for your help.

If this is a real response of your site test, you can use this regex:

<input type="hidden" value="(.+?)" name="token"