Jump to content

help on preg_replace() please


helloise

Recommended Posts

Where you have ereg_replace, you change that to preg_replace().

 

Also your regex's need to have a delimitter around the regex.  Usually people use the forward slash.

 

'/[^A-z0-9]/i'

 

This is all stuff that you can read about in the manual.  If you have a more specific question people might be able to help.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.