RE: [PHP] script question
| From: | Maxim Maletsky | Date: | Tue, 17 Oct 2000 03:57:54 +0000 |
| Subject: | RE: [PHP] script question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-20511@lists.php.net to get a copy of this message | ||
here's a good base to learn Reg Ex ..
http://www.phpbuilder.com/columns/dario19990616.php3
-----Original Message-----
From: BrianSander [mailto:yoda@ipo.asu.edu]
Sent: Saturday, September 23, 2000 6:52 AM
To: php-general@lists.php.net
Subject: [PHP] script question
Greetings,
I have a problem which will probably has a very simple solution, I'm
relatively new to programming in general.
I'm attempting to write a php script which will split an email address
into its name and domain components.
$email is passed from a webpage
<?php
$before_@ = (some regular expression)$email
$after_@ = (some regular expression)$email
?>
How would this be accomplished?
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net