#!/usr/bin/perl -w $b="abcdefghijklmnopqrstuvwxyz"; $html="abc"; $b=~s/$html/cdef/g; print $b;