[Hampshire] extracting phrases from a file.

Página superior

Responder a este mensaje
Autor: James Courtier-Dutton
Fecha:  
A: Hampshire LUG Discussion List
Asunto: [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