In a Mathematica notebook, I enter and evaluation the following code, : url = "http://reference.wolfram.com/mathematica/guide/AlphabeticalListing.html"
fileName = "C:\Projects\Wolfram\AlphabeticalListing.txt"
links = Import[url, "Hyperlinks"]
lEx = Export[fileName, links]
The following is a partial example of what I get for output from the "links=" line above:
{"http://www.wolfram.com/", "http://www.wolfram.com/products/",
"http://www.wolfram.com/products/",
"http://www.wolfram.com/mathematica/",
"http://www.wolfram.com/solutions/education/students/",
"http://www.wolfram.com/mathematica-home-edition/",
"http://www.wolfram.com/cdf-player/", "http://www.wolfram.com/cdf/",
A partial example of the output in the text file for the "lEx=" line above is:
{" Index of All New Functions ", {{"AbelianGroup", "AllowedDimensions", "Arg"}, {"Abort", "AllowGroupClose", "ArgMax"}, {"AbortKernels", "AllowReverseGroupClose", "ArgMin"}, {"AbortProtect", "AlphaChannel", "ARIMAProcess"},
Obviously, the two are not the same. How do I output to a text file, these hyperlinks from the Import[] line?