title: How to get the page number where a match is found when searching PDF docs using iTextSharp
body: <p>I'm trying to extract the page number where the search string is found. </p>
  
  <p>Please see below my partial code:</p>
  
  <pre><code>For Each match As Match In Regex.Matches(TextPDF,nino_pattern,RegexOptions.IgnoreCase)
       nino_pattern = match.Value
       page = code to get the page number where the search string is found
       ToalPage = Reader.NumberOfPages
       FileWriter.WriteLine(filename &amp; vbTab &amp; nino_pattern &amp; vbTab &amp; Page &amp; ToalPage)
  Next
  </code></pre>