Hi all,
Does anyone know of a module (or other method) of stripping URLs out of a file?
I want to pass a file to a function that strips out all the URLs and returns them in an array. This must have been done before.
Any ideas,
TIA, rotis23
Hi all,
Does anyone know of a module (or other method) of stripping URLs out of a file?
I want to pass a file to a function that strips out all the URLs and returns them in an array. This must have been done before.
Any ideas,
TIA, rotis23
I've found that a part of the HTML-Parser module, called HTML::LinkExtor can do this, but only with HTML.
I can't find one that will work with any type of file.
Perl has great regular expression support, why not use those.
The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.
>>Does anyone know of a module (or other method) of stripping URLs out of a file?
Yea, CPAN has a module called HTML::LinkExtor that'll do what you want.