Thread
:
php remove punctuation
View Single Post
28-07-2006, 10:00
#
2
(
permalink
)
MikeMackay
Shun the non-believer
Join Date: Feb 2005
Location: Essex, UK
Posts: 1,784
What about building a regexp that only allows [a-z][0-9] and spaces (if you want spaces allowed). Get it to delete everything else from the string, that should take care of removing absolutely everything.
Be careful with it though.
- Mike
MikeMackay
View Public Profile
Send a private message to MikeMackay
Send email to MikeMackay
Visit MikeMackay's homepage!
Find More Posts by MikeMackay