Word filter

[email protected] (Eelco Alosery) Wed, 29 Jan 2003 14:49:48 +0100
Newsgroups perl.macperl.anyperl
Message-ID <[email protected]>
 From a string I want to filter out what is between [ and ]
$word must now contain what stands there.
Bur there is no telling where the [ and the ] stands so it must delete 
al what is in front of [ and what is after ]