Re: very quick Regex query

From: Date: Tue, 01 Mar 2011 07:37:44 +0000
Subject: Re: very quick Regex query
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-311602@lists.php.net to get a copy of this message
"David Hutto" <smokefloat@gmail.com> wrote: >On Tue, Mar 1, 2011 at 2:28 AM, David Hutto <smokefloat@gmail.com> >wrote: >> On Mon, Feb 28, 2011 at 10:07 PM, Alexis <phplists1@antonakis.co.uk> >wrote: >>> Hi, >>> >>> I know not strictly a PHP question, but was just wondering if >someone can >>> tell me the regex format for something please. >>> >>> I need to replace >>> ....... >>> with >>> -------- >> >> A good text editor should have find ...... and replace with  -------- > >> under the search menu. > >My bad, that was for editing,. >> >>> That is six periods replaced by eight hyphens. >>> >>> Many thanks >>> Alexis >>> >>> -- >>> PHP General Mailing List (http://www.php.net/) >>> To unsubscribe, visit: http://www.php.net/unsub.php >>> >>> >> >> >> >> -- >> According to theoretical physics, the division of spatial intervals >as >> the universe evolves gives rise to the fact that in another timeline, >> your interdimensional counterpart received helpful advice from >me...so >> be eternally pleased for them. >> > > > >-- >According to theoretical physics, the division of spatial intervals as >the universe evolves gives rise to the fact that in another timeline, >your interdimensional counterpart received helpful advice from me...so >be eternally pleased for them. > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php If it needs to be done programatically then str_replace() will be faster than any regex. Thanks Ash -- Sent from my Android phone with K-9 Mail. Please excuse my brevity.

« previous php.general (#311602) next »