I have some email addresses being imported into a PHP script I'm working on, I need to get them from this form;
to this format;
So far I have managed to remove a lot of the junk characters using str_replace, but now I'm left with addresses still with an alias, but separated by \name\email@example.com.
If only I could get rid of the slashes and the bit between them I'd be sorted.
Any advice? (Please be gentle, I'm a noob!)
Thanks in advance.