Extract title from names