Re: High and Low ASCII characters

From: Date: Tue, 20 Feb 2001 22:35:40 +0000
Subject: Re: High and Low ASCII characters
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-40839@lists.php.net to get a copy of this message
ereg-replace and/or preg-replace should be able to do this much easier... Not sure how to represent characters by Hex value in Regex though... http://php.net/ereg_replace -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm ----- Original Message ----- From: richard merit <richand2002@yahoo.com> Newsgroups: php.general Sent: Monday, February 19, 2001 4:30 PM Subject: [PHP] High and Low ASCII characters > We process a lot of documents, some text, some html, > etc. I need to be able to strip out all characters > below an ascii number and above an ascii number. > Currently I check character by character, above or > below a particular number the character is deleted or > replaced in the new string. Anyone run across a > quicker way to do this in php3....I checked the usual > places and can't find anything or I missed > something.....any help appreciated > > > rm > > __________________________________________________ > Do You Yahoo!? > Get personalized email addresses from Yahoo! Mail - only $35 > a year! http://personal.mail.yahoo.com/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#40839) next »