Answers for "php remove before a string part"

PHP
2

php remove after character

$s = 'Posted On April 6th By Some Dude';
echo strstr($s, 'By', true); // Posted On April 6th
Posted by: Guest on October-06-2020
0

remove certain haracters from a string php

$string = preg_replace("/[aeiou]/", '', $string);
Posted by: Guest on September-26-2021

Code answers related to "php remove before a string part"

Browse Popular Code Answers by Language