open ($handle, 'surnames.html'); while (<$handle>) { $hash{$1} = () if m/^<\w+?><B>(\w+?)<\/B>/; } close ($handle); print '"' . join ("\",\n\"", sort keys %hash) . '"';
In reply to Re: general regex question
by TedPride
in thread general regex question
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |