ereg_replace()


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

Basically what i need to do is

$title = "This Suck's"

Did you know?Explore Trending and Topic pages for more stories like this.
$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

How do I replace any number of character occurences with one occurrence?
How do I replace any number of character occurences with one occurrence?

Let's say I have:

Saving PHP output as a file
I wondered if anyone knows how to save the rendered output of a PHP script as a file?

I have

rdns with php
I am trying to build a script that will show all of the different domains that are hosted on the sam

SAP Logon Failed
I tried to login to SAP through MMC.

When i click start and give password.

it

Thread in PHP
Thread in PHP
Some basic use and basic code for thread in php
This is my question?

Getting Subdomain Name With PHP?
I want to grab the subdomain name with PHP so I can generate database queries.

for example my

Get word number x from string?
How can I use a function to loop through a string, and "have a look at" every word in the

Creating an invoice
Using fpdf I am trying to create an invoice to send to clients. The products are sold in pricing tie

Database connection failure
Hello All,

I am trying to create new connection to Oracle DB 10.1,
I could not see a

Convert Binary String to Decimal
Trying to Get:
Decimal: 305419896

Out of:
Binary String: xV4

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