Extract Name ans Surname from a Text

Hello Guys,

I’m writing a C# code to extract Name/Surname from a text there is few examples:

Mr Jean valgent connu pour
Monsieur Jean valgent depuy inculpé pour
Madame serena williams  is a winner of 
Madam …….

anby body had an idea about this.


in this text may i know which word you would like to extract

I waould to extract
Jean valgent
Jean valgent depuy
serena williams