Remove allowed characters from name before alphanumeric test

Currently the name only allows alphanumeric.

This code now checks for accepted characters such as spaces and apostrophes and removes them from the string being tested for alphanumeric.

Now allows names such as:
"John Smith"
"Jim O'Neil"