Help with retrieving numbers within HTML

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
punyboy99
Posts: 3
Joined: 26 Oct 2017, 20:45

Help with retrieving numbers within HTML

25 Nov 2017, 02:34

I'm trying to grab the value (which I have bolded) depending on the what the variable identity is.
For example, if identity=Dogpond. I would retrieve the value "184898275040711117". Sometimes RedHouse is selected so it cannot rely on the "selected=" part if that makes sense.

<select name="updateID " class="form-input-field" id="updateID " onchange="updateID(this.form);"><option value="184898275040711117" selected="">Dogpond</option><option value="164297824407799117">RedHouse</option></select>

I am looking up all the Regex stuff as I haven't found the need to use it until now, any help is appreciated.

What I plan on learning to do:
1.Remove everything but the option values
2.Grab the values based on the variable identity as mentioned above.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Araphen, doanmvu, rubeusmalfoy and 200 guests