using perl, how would i get it to erase everything up to and including the first bracket [ ?
I have this, but it only erases up to the [. I need the bracket removed as well.
for($i=0;$i<@mylist;$i++)
{
@mylist[$i] =~ s/[^]]*//;
}
any ideas?
thanks,
gammaman