#!/usr/bin/perl open FH,'ent.txt'; @data=; $text='&bush&'; foreach $dat(@data){ $text =~ s/&/&/g; print $text; }