$line = "xaxlxxxfxixex"; $line =~ s/(x(\w)x)/$2/g; $line =~ s/x$//; [download]
In reply to Re: Re: Re: special regexp by nysus in thread special regexp by alfie