<?
$text = "User : [EMAIL PROTECTED]";
$results = ereg_replace("User :", '', $text);
echo $results;
?>
I get:
[EMAIL PROTECTED]

"Liam Mackenzie" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó·s»D
:003a01c24410$358fd7a0$[EMAIL PROTECTED]
> Hey all, got another dumb question  :-)
>
> Output text is as follows:
>
> User : [EMAIL PROTECTED]
>
> I do this:
> $results = ereg_replace("User :", '', $results);
>
> I get this:
> User : [EMAIL PROTECTED]
>
> But when I do this:
> $results = ereg_replace("User", '', $results);
>
> I get this:
> : [EMAIL PROTECTED]
>
> How do I remove the whole "User :" without removing all the damn colons?
>
> Cheers,
> Liam
>
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to