Names which contains honorifics like-
- Mr. Evans
- Aley Fred,Jr.
I want to remove all prefix and suffix from names specially all different kind of honorifics used in names in pandas.
As an output,I want-
- Evans
- Aley Fred
I have used some codes but it dosnt work in some cases, I want a very robust code. Is there any way to do that?