Re: Fw: [PHP] Re: Regular expression
| From: | Curt Zirzow | Date: | Wed, 30 Jun 2004 14:12:43 +0000 |
| Subject: | Re: Fw: [PHP] Re: Regular expression | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-189298@lists.php.net to get a copy of this message | ||
* Thus wrote Red Wingate:
> First of all check who u credit :p
> Secondly why don't you just try to fix it yourself?
>
> There was just a typo in the regexp:
> - #^from\s*:\s*([^>]+)(<([^>]+)>)?#si
> + #^from\s*:\s*([^<]+)(<([^>]+)>)?#si
>
> Hopefully this will help you even more:
>
You're too nice..
Btw, I need some money. Send me money ASAP. It must be an amount
greater than $200, and be delivered to me directly, thank you.
> ...
>
> ?>
>
> [...]
> >> Thanks Aiden for ur help
> >>
> >> i used ur code and i got
> >>
> >> name as Red Wingate<redeye@erisx.de
> >> and no email.
> >>
> >> So pls correct the code and send me such that i get name and email
> >> separately.
> >>
> >> Regards
> >> syed
> [...]
>
Curt
--
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about. No, sir. Our model is the trapezoid!