HiTeks,
I am trying to get a list of all actions(http anchors) into text file from an HTML file.
HTML file:
.............
<A href=".............
<A href="..........
<A href="...
etc.
I would like to extract just the http locations into a log file which looks like this.
LOG file:
..
using a regular expression and a split function since I have same http addresses occuring twice in an action line. I don't know how to match/write an regexp for special characters like '&, ?, =,etc' they are irregular not all http address have these in my list. I am wondering if I need to put '\/' '\?' '\=' for all the special characters or what? and how?
Please help,
Preethi
preethib@yahoo.com
I am trying to get a list of all actions(http anchors) into text file from an HTML file.
HTML file:
.............
<A href=".............
<A href="..........
<A href="...
etc.
I would like to extract just the http locations into a log file which looks like this.
LOG file:
..
using a regular expression and a split function since I have same http addresses occuring twice in an action line. I don't know how to match/write an regexp for special characters like '&, ?, =,etc' they are irregular not all http address have these in my list. I am wondering if I need to put '\/' '\?' '\=' for all the special characters or what? and how?
Please help,
Preethi
preethib@yahoo.com