(the following span is being queried - it is an aspx label) - Search code at bottom of page.

this is some book stuff page to host feed a stype sheet.

(the following represents the above links )
<a href="books.xml" alt=books>this is some book stuff</a> 
<a href="feedhost.aspx" alt="test bed">page to host feed</a>
<a href="StyleSheet.css" alt="some style sheet">a stype sheet.</a>







        Code used to search
        
        Dim re As RegularExpressions.Regex
        Dim m As RegularExpressions.Match
        Dim s As String 


        Dim mc As MatchCollection
        s = Label1.Text
        mc = re.Matches(s, txtPattern.Text)


        Dim sb As New System.Text.StringBuilder
        sb.AppendLine("there were this many matches:" & mc.Count & vbCrLf)
        For Each m In mc
            sb.AppendLine(m.Result("$1"))
        Next
        TextBox1.Text = sb.ToString