note 48732 deleted from ref.regex by nlopess

From: Date: Tue, 11 Jan 2005 16:32:26 +0000
Subject: note 48732 deleted from ref.regex by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-83093@lists.php.net to get a copy of this message
Note Submitter: kangaroo232002 at yahoo dot co dot uk ---- i'm building a trawler, and about 95% of the words were logged in the database without any problems, however was having big difficulties with whitespace. Anyway, after using trim, eregi_replace and everything, found that the actual code for the alleged whitespace was \xA0 - and was not being picked up by any regex filters such like [^a-z0-9] and also is not classed in [:space:]! i couldnt find a reference to this character on ASCII-hex lists as its quite high up - but if having similar difficulties try http://www.x-ways.net/winhex/index-m.html and download their software (free) to view your php/ text file etc - it worked very well (for me anyway)!!

« previous php.notes (#83093) next »