> Ok, I feel really lame for asking this, but I can I do this in PHP:
> $userid =~ /([\D]+)/;
> $baseName = $1;
> It seems like "Pattern Capture" is not the right term for the similar
> function in PHP. I'm not sure what to search for.

Look at the third argument for the preg_match() function.  I believe
some of the other regular expression functions have similar arguments
as well.

Chris

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

Reply via email to