Why not use split() (http://www.php.net/split) or explode() instead of matching?
..michael.. On Mon, 2002-12-02 at 09:34, Sturle wrote: > Hello > > I have one coloumn with lots of e-mail adress like this: > > [EMAIL PROTECTED];[EMAIL PROTECTED];[EMAIL PROTECTED] > [EMAIL PROTECTED];[EMAIL PROTECTED];[EMAIL PROTECTED] > [EMAIL PROTECTED] > > And i want to take the first row and put the adresses into an array, then > the second row... > > I try like this, but i don't know what i can write in preg_match() to only > get the email adress. > > while(odbc_fetch_row($ret)){ > $Epost = odbc_result($ret,"Epost"); > preg_match_all( '/?????????????/', $Epost, $result); > foreach ($result[0] as $loop_result) > > .... > > > sturle > -- Michael Sweeney <[EMAIL PROTECTED]> Verisity Design, Inc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php