Re: very quick Regex query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"David Hutto" <smokefloat@xxxxxxxxx> wrote:

>On Tue, Mar 1, 2011 at 2:28 AM, David Hutto <smokefloat@xxxxxxxxx>
>wrote:
>> On Mon, Feb 28, 2011 at 10:07 PM, Alexis <phplists1@xxxxxxxxxxxxxxx>
>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.

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




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux