When the person name column in your database table has title, degree, etc. sticking on, here is a simple script to extract the names only!
// Load wink-nlp-utils
var nlp = require( 'wink-nlp-utils' );
// Clean up and extract just the name:
var name = nlp.string.extractPersonsName( 'Dr. Sarah Connor M. Tech., PhD. - Machine Learning' );
console.log( name );