I'm trying to get a replace going here. The string is something like this:
RE[2]: subject line, and I want to replace it with RE[3]: subject line.
I've tried 1000 different lines, but the closest I can get,
$subj = preg_replace("/[0-9]/","RE[$0]:",$subj);
reproduces a whole chunk of the string. Can anyone give me a tip here?
Thanks,