You shouldn't be surprised that your regexp matches the part you've asked it to match! The part in parentheses will be in yourmatch.SubMatches(0)
you can test whether there's anything there by first checking that
yourmatch.SubMatches.Count = 1.
hth
Phil
|