| Welcome to WebmasterWorld Guest from 22.214.171.124 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
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 is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved