On 03/08/05, Nop Lists <[EMAIL PROTECTED]> wrote: > Thanks, Sebb, the following works like charm: > RegExp: (?s)(<select name="orderData.secAccountId".*?<option > value="([0-9]*)" selected="selected">)
([0-9]+) would be better, unless you want to match value="" > Template: $2$ > > However I am a bit confused about numbering the template. > My understanding is: > $1$ is what matched starting at <select and ending at selected"> Yes. In this case it is the same as $0$, because you have enclosed the whole Regex. So you could drop the outer parentheses and use $1$ instead. > .*? is not counted as it is not in paranthesis. Not any more - but previously it _was_ in parentheses. > $2$ is what matched with ([0-9]*) Yes, now that (.*) has become .*? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

