| Welcome to WebmasterWorld Guest from 188.8.131.52 |
register, login, search, subscribe, help, library, PubCon, announcements, recent posts, open posts,
|Subscribe and Support WebmasterWorld|
DEPRECATED need alternate function
| 3:58 pm on Jun 2, 2012 (gmt 0)|
Looking for an alternate function to:
i.e. something that will remove all characters from a string other than a-z, 0-9 and .
| 6:24 pm on Jun 2, 2012 (gmt 0)|
'/ /' part is VERY important.
| 12:50 am on Jun 3, 2012 (gmt 0)|
I got this response
Warning: preg_replace() [function.preg-replace]: Compilation failed: range out of order in character class at offset 7 in C:\xampp\htdocs\test.php on line 4
| 4:05 am on Jun 3, 2012 (gmt 0)|
Showing us your code would be helpful, especially line 4
| 6:31 am on Jun 3, 2012 (gmt 0)|
The second z needs to be lowercase, that's all:
| 12:54 pm on Jun 3, 2012 (gmt 0)|
Thanks Steve that worked great.
| 4:15 pm on Jun 3, 2012 (gmt 0)|
Ah. Didn't spot the typo in the OP. :)
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld ® and PubCon ® are a Registered Trademarks of Pubcon Inc.
© Pubcon Inc. 1996-2012 all rights reserved