<?php
$ch = "Dear Person, Thank you for joining us. Thank you person for your participation. It very kind of you. See you soon person";
echo str_ireplace("Person", "Fomba", $ch );
?>
Dear Fomba, Thank you for joining us. Thank you Fomba for your participation. It very kind of you. See you soon Fomba