Following is the string, Card 41: Slot Type : SFC Card 42: Slot Type : PFC Card 43: Slot Type : GFC Operational State : Empty Card 44: Slot Type : KFC Card 45: Slot Type : SFC
i want to split in a way so that i should have a map of (41,SFC),(42,SFC),(43,GFC),(44,KFC).... currently iam using this regex "\s*Card\s*\d+\s*:", is it possible to split and capture with the same regex, like i mean i want to split with "\s*Card\s*(\d+)\s*:" and capture the (\d+).