The function you are looking for is preg_match
http://php.net/preg_match
preg_match only returns the entire match. To my knowledge you can
not have a portion, enclosed in parenthesis, of the regular expression
enclosed.
Also, don't start a new thread by responding to an existing thread
and deleting the text, create a new email.
I'm sorry I though changing the subject accomplished starting a new
thread.
Urb
Dr. Urban A. LeJeune, President
E-Government.com
609-294-0320 800-204-9545
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
E-Government.com lowers you costs while increasing your expectations.
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com
Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php