By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
| replace(convert(t.str using ascii), '?', '') |
|---|
| The hills have eyes. |
| regexp_replace(t.str, '[^a-zA-Z0-9.? ]', '') |
|---|
| The hills have eyes. |
| replace(convert(t.str using ascii), '?', '') |
|---|
| The hills have eyes. |
| regexp_replace(t.str, '[^a-zA-Z0-9.? ]', '') |
|---|
| The hills have eyes. |