An Apache a rewrite rule in the form of: /country/(..)\.html
returns the two characters enclosed between the parenthesis as $1. If there a PHP function with the same functionality? I want to use PHP to return the digits in a string like: stuff [mailid=1234] more stuff. Thanks 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