in reply to Word matching in string

Jaya, i think in $phylo, $name[0] might have not matched, so there is no substitution.

If you provide the value of $phylo, we can look into that, the input you provided is not enough.

Prasad