Re: Easy reg expression problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 16 July 2004 08:05, Justin Patrin wrote:

> > If you're simply trying to get '@email.com' then use strstr().
>
> Of course....I'm just so used to pregs...

Well the advantage of using a regex is that you can perform some form of 
validation on the address.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-db
------------------------------------------
/*
Never mind the bullet with your name on it, try to avoid the shrapnel 
addressed to occupant
		-- Murphy's New Military Laws n4
*/

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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux