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