ot;, "'"); //put whatever
characters here
trim(str_replace($invalidChars, "",$string))
- Original Message - From: "Derek C Hopkins"
<[EMAIL PROTECTED]>
To:
Sent: Wednesday, January 31, 2007 1:10 PM
Subject: [PHP-WIN] using preg_replace or equ
;Derek C Hopkins" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, January 31, 2007 1:10 PM
Subject: [PHP-WIN] using preg_replace or equivelent
Hi All
Not knowing cgi-script I am having trouble understanding the
preg_replace function in PHP.
What I want to do is remove all ocur
Hi All
Not knowing cgi-script I am having trouble understanding the
preg_replace function in PHP.
What I want to do is remove all ocurances of the following
items from a string
All spaces, open brackets, close brackets, apostriphy, and
period (full stop)