Hi All,
I have a requirement wherein I need to remove duplicates for only specific records.
Input (dynamic with the below format):
AAAA ***fdsf***sdf**
BBBBB **gfhfghfghfg*
CCCC 1234
CCCC 5895
CCCC 1234
CCCC 7545
CCCC 8877
AAAA ***fdsf***sdf**
BBBBB **gfhfghfghfg*
CCCC 8585
Requirement:
I need to remove duplicates for only the records starting with CCCC and also the rest should remain as such. So, my output should be like
OUTPUT:
AAAA ***fdsf***sdf**
BBBBB **gfhfghfghfg*
CCCC 1234
CCCC 5895
CCCC 7545
CCCC 8877
AAAA ***fdsf***sdf**
BBBBB **gfhfghfghfg*
CCCC 8585
Many thanks.