G
Guest
I'm having trouble creating a regular expression to parse bits of data from a string and was hoping someone could lead me in the right direction. Consider the following string
423456 Victor Frankenstein, M.D. 04/04/200
I want to construct a new string to look like this
04/04/2004-423456-Frankenstei
My biggest problem is getting the last name, this is because there may or may not be something between the first and last name (ie. middle name, middle initial(with or without a period), and even multiple names)
If anyone has any ideas, I would really welcome your insight
Thanks
Mark
423456 Victor Frankenstein, M.D. 04/04/200
I want to construct a new string to look like this
04/04/2004-423456-Frankenstei
My biggest problem is getting the last name, this is because there may or may not be something between the first and last name (ie. middle name, middle initial(with or without a period), and even multiple names)
If anyone has any ideas, I would really welcome your insight
Thanks
Mark