I have an array containing some words and I want to remove the words that contain either a . (fullstop) or ; (semicolon) or some other symbols. I have read the solution on [ [Remove item from array if item value contains searched string character](https://stackoverflow.com/questions/9993168/remove-item-from-array-if-item-value-contains-searched-string-character) ] but this doesn't seem to answer my problem. 

What can I add to this code to remove also the words containing the other symbols other than semicolon?

```
function myFilter($string) {
  return strpos($string, ';') === false;
}

$newArray = array_filter($array, 'myFilter');

```

Thanks