The line of code below, suppose to replace string that starts from
Received and ends from Reply.
So if string is sfsfsfsfReceiveddasdadadadReply, should return
sfsfsfsf // only this.
preg_replace("Received.Reply$","", $data);
Why it is not doing this?