Re: Regular Expression help

From: Date: Thu, 19 Jan 2006 16:30:56 +0000
Subject: Re: Regular Expression help
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-228838@lists.php.net to get a copy of this message
Chris wrote: <snip>
preg_replace('/(?<!^)([A-Z])/','_$1','JimJoeBobBriggs');
Ohhhhhhh....regex-fu black belt. ;) -- John C. Nichel IV Programmer/System Admin (ÜberGeek) Dot Com Holdings of Buffalo 716.856.9675 jnichel@dotcomholdingsofbuffalo.com

« previous php.general (#228838) next »