I have below in a text file :
development_XYZ_backup_2019_02_07_030515_9125395.bak, development_PQRS_backup_2019_02_07_030516_0315514.bak
I need to delete:
,development_PQRS_backup_2019_02_07_030516_0315514.bak
So the text file will contain only:
development_XYZ_backup_2019_02_07_030515_9125395.bak
I'm not sure where to start, any help is appreciated.