I have a use case where I want to delete every word in a string that doesn't have a period in the middle of it. Can someone provide a solution and if willing, provide an explanation of how it works please?

String Example:

```
Testy.mctestface 1337 taco

```

Desired Result:

```
Testy.mctestface

```