A website not under my control contains a list of accounts (emails) I need to directly contact, and the only facility offered by the website is a simple form; not exactly flexible. It took me just about three minutes to extrapolate all the emails out into my own list for more lucid processing:
And a simple CLI command:
I run across simple problems like this all the time, and Perl is often the quickest answer. Anyway, I just wanted to spread some Perl love.
[edit]Parsed part of it as an emoticon.[/edit]
{
local $/;
undef $/;
$_ = <>;
}
while (/mailto: ([^\">]+)[\">]/g) {
print "$1\n";
}
And a simple CLI command:
cat page.html | perl members.pl > members.txt
I run across simple problems like this all the time, and Perl is often the quickest answer. Anyway, I just wanted to spread some Perl love.
[edit]Parsed part of it as an emoticon.[/edit]