PROTECTED]
To: PHP List [EMAIL PROTECTED]
Sent: Sunday, June 09, 2002 2:40 AM
Subject: [PHP] Removing ^M
I am trying remove ^M characters (some kind of newline character) from an
HTML file. I've tried all sorts of ereg_replace and sed possibilities
but the
things just won't go
I am trying remove ^M characters (some kind of newline character) from an
HTML file. I've tried all sorts of ereg_replace and sed possibilities
but the
things just won't go away. Does anyone have a way of removing such
characters?
TIA
Mick
--
PHP General Mailing List
: Michael Hall [EMAIL PROTECTED]
To: PHP List [EMAIL PROTECTED]
Sent: June 08 2002 05:40 PM
Subject: [PHP] Removing ^M
I am trying remove ^M characters (some kind of newline character) from an
HTML file. I've tried all sorts of ereg_replace and sed possibilities
but the
things just won't go away
On Sun, 9 Jun 2002, Michael Hall wrote:
I am trying remove ^M characters (some kind of newline character) from
an HTML file. I've tried all sorts of ereg_replace and sed possibilities
but the things just won't go away. Does anyone have a way of removing
such characters?
$str =
72 434 7582
- Original Message -
From: Michael Hall [EMAIL PROTECTED]
To: PHP List [EMAIL PROTECTED]
Sent: Sunday, June 09, 2002 2:40 AM
Subject: [PHP] Removing ^M
I am trying remove ^M characters (some kind of newline character) from an
HTML file. I've tried all sorts
434 7582
- Original Message -
From: Michael Hall [EMAIL PROTECTED]
To: PHP List [EMAIL PROTECTED]
Sent: Sunday, June 09, 2002 2:40 AM
Subject: [PHP] Removing ^M
I am trying remove ^M characters (some kind of newline character) from an
HTML file. I've tried all sorts
854 7064
Cell: +27 72 434 7582
- Original Message -
From: Miguel Cruz [EMAIL PROTECTED]
To: Chris Knipe [EMAIL PROTECTED]
Cc: PHP List [EMAIL PROTECTED]
Sent: Saturday, June 08, 2002 7:51 PM
Subject: Re: [PHP] Removing ^M
'chomp' removes the end-of-line character(s) from its input, which
why not just run
tr -d \r htmlfile.htm
- Original Message -
From: Michael Hall [EMAIL PROTECTED]
To: PHP List [EMAIL PROTECTED]
Sent: Sunday, June 09, 2002 2:40 AM
Subject: [PHP] Removing ^M
I am trying remove ^M characters (some kind of newline character) from an
HTML file
:
why not just run
tr -d \r htmlfile.htm
- Original Message -
From: Michael Hall [EMAIL PROTECTED]
To: PHP List [EMAIL PROTECTED]
Sent: Sunday, June 09, 2002 2:40 AM
Subject: [PHP] Removing ^M
I am trying remove ^M characters (some kind of newline character) from an
HTML file
List [EMAIL PROTECTED]
Sent: Sunday, June 09, 2002 2:40 AM
Subject: [PHP] Removing ^M
I am trying remove ^M characters (some kind of newline character) from an
HTML file. I've tried all sorts of ereg_replace and sed possibilities
but the
things just won't go away. Does anyone
10 matches
Mail list logo