ok here is my code
vb Code:
  1. Dim objRegEx As System.Text.RegularExpressions.Regex
  2.         Dim objMatch As System.Text.RegularExpressions.Match
  3.         Dim arrLinks As New System.Collections.ArrayList()
  4.         ' Create regular expression
  5.         objRegEx = New System.Text.RegularExpressions.Regex( _
  6.             "(?<=<a rel='lightbox' href=).*(?=>Image Only</a></td>)", _
  7.             System.Text.RegularExpressions.RegexOptions.IgnoreCase Or _
  8.             System.Text.RegularExpressions.RegexOptions.Compiled)
  9.         ' Match expression to HTML
  10.         objMatch = objRegEx.Match(HTML)
  11.         ' Loop through matches and add <1> to ArrayList
  12.         While objMatch.Success
  13.             Dim strMatch As String
  14.             strMatch = objMatch.Groups(1).ToString
  15.             ListBox1.Items.Add(strMatch)
  16.             objMatch = objMatch.NextMatch()
  17.         End While

but it is just adding blank lines to the listbox and not the strings it found