I have a set of strings like this:
C001F01.PNG
C001G01.PNG
C002F10.PNG
which follow the format of :
C(id number)(F or G)(another id number).PNG
I want to know their ids' and know if they were from class F or G, I have read that re.split()
could do similar work, but I'm confused and don't understand how RE works exactly.