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

add to sql result
ok see rite now my sites hit counter is counted from the mysql visitor log i need to clear it aft

Using CSS to format MySQL query
Hi,

If i want to have a news page on my site, which displays all records of a table in descen

login to other site by sending post variables
hey,

here is my problem: my school gave me a mail account for school-stuff use. they mail us

use an array from 1 class in a second class
I have a class that adds data to an array

Then I have a second class and I need to check if t

PHP webpage & array print issue
I have this code running, and it works perfectly … however, see my bottom bit about what I see

what business processes?
Hi,

A general question. What business processes (like OTC - Order to Cach, P2P, R2R etc)

Parse error: syntax error, unexpected $end in
hello,
i receive the error :Parse error: syntax error, unexpected $end in C:xamppxampphtdocsh

Help with usergroups? prolly really quick
So were coding our own forums for a game system we made an we have the users level setup but now I n

Problem in back link
I have page where i have given javascript back link but when i click on it browser give a message

Inserting a variable in a link
I have this code that I want to insert for my own variable but I have no idea how. This is what I wa

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