preg_match
| From: | Jason Williard | Date: | Mon, 29 Mar 2004 04:10:34 +0000 |
| Subject: | preg_match | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-181641@lists.php.net to get a copy of this message | ||
I am trying to use preg_match to pull a specific piece of a variable.
However, I don't have enough experience with the syntax to be able to figure
this out.
The variable looks like: "John {mailto:john@does.com)"
All I need is the name, John. The rest can be discarded. How would I pull
that bit out?
Thanks,
Jason