• Fruits
• Apple
• Orange
• Car
• BMW
Hi all, the above was extracted from a PDF using Extract text from PDF action with Optimize for structured data enabled.

I would like to extract the main bullet points string and concat with their sub bullet points string. For example, the desired result is as follow:
Fruits; Apple; Orange
Car; BMW
OR
•Fruits •Apple •Orange
•Car •BMW
Both will do, how do I achieve that?