I realise this is a difficult if not unworkable problem, but if it's possible to resolve I think this is the place to find out:
Basically I want a script to search a file for any lines with links featuring a certain word; let's say I have a .htm file with a list of links and I want to find all the links on that page which feature the word "profile". Then, have them output to the page with this script on, as a list.
If I've made this sound confusing the jist of my question is this: How do you strip a file containing lines of links to just the ones you want and then output them on a page?
Hope that's ok! Thanks in advance, Andy :o)