I'm wanting to $PAGE =~ s/href="#"(.*)<img name="(.*)" src/href="$2"$1<img name="$2"/si;
which means I want to replace a # with the name of the image used in a link.
Now, what I really want to do is lookup the image name and find out what the real link is. I think that means I need a function to take the image name and find the target link, which exists in another file in my applications.
Is there a way to do this? If not, I will write a program to do it. I'd use a regular expression if it could be done.
Anybody game for this one?
Ken
which means I want to replace a # with the name of the image used in a link.
Now, what I really want to do is lookup the image name and find out what the real link is. I think that means I need a function to take the image name and find the target link, which exists in another file in my applications.
Is there a way to do this? If not, I will write a program to do it. I'd use a regular expression if it could be done.
Anybody game for this one?
Ken