Answers for "remove characters fromstring php"

PHP
-1

php remove control characters from string

preg_replace('/[[:cntrl:]]/', '', $input);
Posted by: Guest on June-29-2021
0

remove exact characters from string using php

$widget_id = substr($widget_text, 1, strlen($widget_text)-2);
Posted by: Guest on October-22-2021

Browse Popular Code Answers by Language