Re: Pattern Matching

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

 



On Wed, Jul 15, 2009 at 3:24 AM, VamVan<vamseevan@xxxxxxxxx> wrote:

> contact/me - Contact US
>
> perfect match would be easy because I can exactly look for what I want.
>
> It becomes tricky when I introduce wild cards like contact/* for example. It
> could also be contact/me/*
>
> How would I match patterns for this kind of relative matches.? Any ideas
> anyone?


Use preg_match function to do that.

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux