Don't even try.
Provide the user with separate texboxes for firstname and lastname and then, if you must, join the entries together to give you the format you want.
But I can't imagine that you really want to store the name in this way. It would make searching unnecessarily complicated.