Hi,
I am a bit in asp c#. I am reading a file

Patient Name: GEORGE ABRAMS Sex:Male
Patient Name: John B RAMS Sex:Male
Patient Name: Sandy SA ABRAMS Sex:Male
Patient Name: GEORGE ABRAMS Sex:Male
Patient Name: Smith ABRAMS Sex:Male

I want the the following output:-

GEORGE ABRAMS male
John B RAMS Male
Sandy SA ABRAMS Male
GEORGE ABRAMS male

...
..


I have a string sflie = "Patient Name: GEORGE ABRAMS Sex:Male"
whats the best an easy way.

Also in the new file there should not be any repetations like line 1 and 4 are the same. The output file should Not have same entry.


Any help would be great
Thanks