Hello,

I've been trying to figure out the correct regular expression to be
using to extract a random value from a combobox (html <select>) and
can't quite seem to get the syntax right.

I'm trying to use this expression in the Regular Expression field of a
Regular Expression Extract Post Processor :

name="cbo_Type" size="1">[\W]*<option value="-1"
SELECTED></option>[\w\W]*<option value="(\d*)"
>[\w\W]*</option>[\W]*</select>

Where cbo_Type is the combobox that I want the values to come from and
all values are positive integer numbers.

Sample code to apply the expression on :
<select id="cbo_Type" name="cbo_Type" size="1">
<option value="-1" SELECTED></option>
<option value="5" >Value 5</option>
<option value="1" >Value 1</option>
<option value="3" >Value 3</option>
<option value="2" >Value 2</option>
<option value="4" >Value 4</option>
</select>

Depending on the expression that I use, I only seem to be able to extract
the first or last integer value (with separate expressions...).

I would greatly appreciate any help with this..

- Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to