FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » How do I do this search and replace?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: How do I do this search and replace? [message #172310 is a reply to message #172303] Sun, 13 February 2011 00:57 Go to previous messageGo to previous message
richard is currently offline  richard   
Messages: 213
Registered: June 2013
Karma:
Senior Member
On Sat, 12 Feb 2011 14:09:18 -0800, Evan Platt wrote:

> On Sat, 12 Feb 2011 14:20:16 -0700, richard <member(at)newsguy(dot)com>
> wrote:
>
>> 1) replace all "\r\n" with "\n"
>> 2) replace all "\n" wtih "\r\n"
>
> Just when I think you can't say anything dumber, you open your mouth
> and prove me wrong.

Once again, Evan Platt showing off what an ignorant stalking, troll he is.
To explain it to your halfwit clueless brain, the first replace ensures
that when the second replace happens, that the condition will be met and
there will be no extraneous unwanted replacements like "\r\r\n".
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Curious problem
Next Topic: Hot Sameera Hot Cleavage show - Download
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 10:40:17 GMT 2024

Total time taken to generate the page: 0.03940 seconds