ereg_replace()


Posted on 16th Feb 2014 07:03 pm by admin

Basically what i need to do is

$title = "This Suck's"

$striped = ereg_replace("[^A-Za-z0-9]", " ", $title );


However, I only want it to strip the " ' " (Apostrophe) not all the characters. just Apostraphe's.. Can someone help please.

No comments posted yet

Your Answer:

Login to answer
100 Like 47 Dislike
Previous forums Next forums
Other forums

Giving the below syntax error
Dear Experts,

I have used 2 buttons in gui status as display and cjhange.When the user wi

Help with forum quoting?
Hi im working on a forum and I have alomost finished it but i want a user quote system like twitter

Warning message
I've put a website that I was doing live and I'm getting this warning message when I try to add a ne

form problem
below in the form action, i've put "test.php?w=$sw&h=$sh" but when i input the for

Applet JTextField Size Problem
Hello,

I recently started making an applet to calculate certain values for airplanes. However

Error when call dll from oracle
Hi all, please help me!

I have dll write C language, I want call it from oracle procedur

Contact Form Not Working When I Add Validation Codes
So I built my first working PHP "Contact Us" like form. But, I have been trying to now mak

Access website from only 1 computer...?
One of my customers wants his website to only be accessed by people in which they bought the website

calendar dates and hours compare problem
i have a calendar in wordpress, everything works great except that i can make 2 meetings at the same

Feed Maker
Hi all.
First of all I must say I am not a php developer so I am afraid I don't know much about i

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash