Regular Expression Question

From: Date: Wed, 25 Jul 2001 20:46:59 +0000
Subject: Regular Expression Question
Groups: php.general 
Request: Send a blank email to php-general+get-59610@lists.php.net to get a copy of this message
I want to replace a string like this 1B335-2G with this B335. So for all the strings I want to remove the first character and the last three characters. I'm not sure which replace function to use or how to go about it. Thanks. Jeff Oien

« previous php.general (#59610) next »