change the result of the map data

  • Map
      • mailList of Text String - 3 items
          • "test@gmail.com:1"(Text)
              • "test2@gmail.com:3"(Text)
                  • "test3@gmail.com:3"(Text)
                    • period"01/2024"(Text)
                      • Map
                          • mail "test4@gmail.com:4"(Text)

                              • period"01/2024"(Text)

                            above is the result of expression rule i want to remove mail  and make value like test@gmail.com as key and numbers that are after : as value 

                            and leave period as is 

                            • Map
                              • "test@gmail.com:1"(Text)
                              • "test@gmail.com:1"(Text)
                              • "test@gmail.com:1"(Text)
                              • period"01/2024"(Text) can i get result as this 

                                Discussion posts and replies are publicly visible

                              Parents
                              • 0
                                Certified Lead Developer

                                Would be in better position to help if you paste the code responsible or explain the output better. Example, first map has 3 emails in it but the expected output you are expecting has just the first email but thrice (why?) and what happens to the other two emails within first map 

                                • "test2@gmail.com:3"(Text)
                                    • "test3@gmail.com:3"(Text)
                                  Reply
                                  • 0
                                    Certified Lead Developer

                                    Would be in better position to help if you paste the code responsible or explain the output better. Example, first map has 3 emails in it but the expected output you are expecting has just the first email but thrice (why?) and what happens to the other two emails within first map 

                                    • "test2@gmail.com:3"(Text)
                                        • "test3@gmail.com:3"(Text)
                                      Children
                                      No Data