Re: ^k ? -- how do I match that?
| From: | Martin Clifford | Date: | Mon, 15 Jul 2002 20:41:57 +0000 |
| Subject: | Re: ^k ? -- how do I match that? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-107757@lists.php.net to get a copy of this message | ||
Just try eregi_replace("\^k[.+]", "", $container);
Regular expressions are the MASTERS of the INTARWEB! :o)
Martin Clifford
Homepage: http://www.completesource.net
Developer's Forums: http://www.completesource.net/forums/
>>> Jimmy Brake <jbrake@covalent.net> 07/15/02 04:32PM >>>
Hi!
I keep getting that evil little character ... ^k from mac users (pre X)
and I need to remove it. Does anyone know how to remove?
This site has that character as a vertical tab. This character is what
is used in MS Excel when people hit return inside a cell. If they copy
and paste that into a form its ok, but when I export that data to a csv
it gets ugly.
http://www.robelle.com/smugbook/ascii.html
Thanks in advance!
Jimmy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php