while ($fol_wzg_cel =~ //) {$fol_wzg_cel =~ s//%B6/;} # as: $fol_wzg_cel =~ s//%B6/g; #### $fol_wzg_cel =~ /<(B6|B1|F3|A6|AC|D3)>/%$1/g;