regex - string replace (php) -
Does anyone suggest a quick task that will automatically spill out the spaceship & amp; The apostrophes from a string in PHP
For example, I need to remove any unwanted stuff from the string.
$ email = "myname's@site.com"; // apostrope needs to be removed & amp; The empty space
$ email = str_replace (array ("'",' '),' ', $ Email);
Comments
Post a Comment