[nycphp-talk] Rewrite rule functionality

Urb LeJeune urb at
Tue Mar 4 06:42:49 EST 2008

An Apache a rewrite rule in the form of:


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.



Dr. Urban A. LeJeune, President
609-294-0320  800-204-9545
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lowers you costs while increasing your expectations.

More information about the talk mailing list