I have the content variable $number['content'] with the placeholder <!--email--> in it which needs to be replaced with $email variable.
Below is whats being stored in the content variable.
<iframe src="url.com&em=<!--email-->&se=51" style="width:900px;height:700px;"></iframe>
I need to be replaced with the variable $email
This would replace should work.
If it is possible I would suggest using sprintf().