Hi guys,
So I am trying to create this function which replaces a certain symbol with something else. I was going to use ereg_replace but I saw that it has been deprecated in 5.3. Can you guys give me suggestion on what to use for this purpose.
To be more specific, I want to create a function that parses in an email which replaces a certain symbol in the email with the current date so like.
<date-1>
will be yesterday's date and
<date>
will be today's date.
Thanks!