[Hampshire] extracting phrases from a file.

Αρχική Σελίδα

Reply to this message
Συντάκτης: James Courtier-Dutton
Ημερομηνία:  
Προς: Hampshire LUG Discussion List
Αντικείμενο: [Hampshire] extracting phrases from a file.
Hi.

I have a large file that contains snips of http pages.
Each line is like this:
....some junk.....<a href="some url"></a>

I want extract the "some url" bits. I.e. Remove the href.
You can probably do this quite easily in perl.
Are there any nice short programs to do this?
Is it easier to do in some other language?

Kind Regards

James