This is What I Have - Huawei MatePad 11 (2021)
This is what I want - Huawei-MatePad-11-2021
This is what I have done so far. (only it replaces "white space" with "-".
echo preg_replace('/[[:space:]]+/', '-', $test);
I want to remove parentheses, and want to replace "white space" with "-" at once. How to do it?