title: MS VB For Application - Read href value in a txt file
body: <p>My txt file (links.txt) contains several links as follows</p>
  
  <pre><code>&lt;A HREF="file1.oft"&gt;File 1&lt;/A&gt;
  &lt;A HREF="file2.oft"&gt;File 2&lt;/A&gt;
  &lt;A HREF="file3.oft"&gt;File 3&lt;/A&gt;
  &lt;A HREF="file4.oft"&gt;File 4&lt;/A&gt;
  &lt;A HREF="file5.oft"&gt;File 5&lt;/A&gt;
  </code></pre>
  
  <p>What I need is to open the file and read the value of the links (File 1, File 2, etc)</p>
  
  <p>How can I do that? regex? I imagine this is something simple but I could find exactly what I need to accomplish.</p>
  
  <pre><code>??? strRegX = "&lt;\s*A(.|\n)*?\s*&gt;((.|\n)*?)&lt;\s*\/A\s*&gt;"  ?????
  
  Const ForReading = 1
  Set objTextFile = objFSO.OpenTextFile("links.txt", ForReading)
  Do Until objTextFile.AtEndOfStream
  ***** CODE GOES HERE ******
  Loop
  </code></pre>
  
  <p>Thanks in advance!</p>