while (<>) { s/^\[([^\]]+)\]/$1/; print; } [download]
In reply to Re: regex problem by amphiplex in thread regex problem by amoura