Posted by Cmac on 02/22/06 20:12
SO for my own benefit and for posterity's sake: preg_replace() is Perl Compatible Regular Expression (PCRE) function to replace a match: preg_replace(pattern,replacement,haystack) in this RegEx /[^a-z \d]/i [match a-z SPACE and any decimal number] / CASEINSENSITIVE switch. Thanks a lot all!
[Back to original message]
Copyright © 2005-2006 Powered by Custom PHP Programming