I a have a string that contains the code of a webpage.
This is an example:
<input type="text" name="x4B07" value="650"
onchange="this.form.x8000.value=this.name;this.form.submit();"/>
<input type="text" name="x4B08" value="250"
onchange="this.form.x8000.value=this.name;this.form.submit();"/>
In that string I want to get the 650
and 250
(these are variables and they change value).
How can I do so?
Example:
name | value |
---|---|
x4b08 | 254 |
x4b07 | 253 |
x4b06 | 252 |
x4b05 | 251 |