Hi all,
Not a how-to question as I found an answer already. I'm using preg_replace to strip out the '@' and everything after it:
$Email = preg_replace('|@.*|','',$Email)
I want to understand what the characters in the first argument - the regular expression - actually do and couldn't find a reference, does anyone know of anywhere I can read up on this?