Use /i
modifier to ignore the case.
$input = preg_replace("/word/i", "", $input);
3
solved Regex to find uppercase and lowercase and any derived words [closed]
Use /i
modifier to ignore the case.
$input = preg_replace("/word/i", "", $input);
3
solved Regex to find uppercase and lowercase and any derived words [closed]