in reply to regex problem

This should do it:
while (<>) { s/^\[([^\]]+)\]/$1/; print; }
---- amphiplex

Replies are listed 'Best First'.
Re: Re: regex problem
by amoura (Initiate) on Jul 23, 2002 at 14:04 UTC
    thanks to you all