What is the recommended method in PHP for removing 'words' in strings with non-alphanumeric characters please?
$string = "Test let's test 123. https://youtu.be/dQw4w9WgXcQ EOTest.";
desired result:
"Test test 123. EOTest.";
Method 1 - regex Method 2 - explode(), foreach() and str_replace or preg_replace