Is there any possibility to use str_replace for multiple value replacement in a single line. For example i want to replace \' \' with \'-\'>
str_replace
\' \'
\'-\'>
str_replace([' ','-','&'],'',$text);