Help for this page
$_ = 'xaxbxcxdexfxxxx'; print $1 while /x(.)(?=x)/g; # abcfx
$_ = 'xaxbxcxdexfxxxx'; print $1 while /(?<=x)(.)(?=x)/g; # abcfxx