RE: [PHP] eregi_replace help needed
| From: | php4 at nv dot jakaranda dot co dot za | Date: | Thu, 29 Jan 2004 16:01:33 +0000 |
| Subject: | RE: [PHP] eregi_replace help needed | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-176221@lists.php.net to get a copy of this message | ||
Hi,
the "off the top of your head" was perfect. It is contrary to everything I've read
on this, but it did the trick.
>off the top of my head, I don't think '\s' is valid in a character
>class, so just use ' ' instead
>try eregi_replace("[0-9 ]{4,}"
>-Craig
Thanks
Nico