Pattern Capture

From: Date: Tue, 13 Jan 2004 15:27:22 +0000
Subject: Pattern Capture
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-174452@lists.php.net to get a copy of this message
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. Thanks, Cameron

« previous php.general (#174452) next »