You're welcome, but you need to provide us with the COMPLETE requirements for what you want to do, rather than just giving us a small piece at a time. That wastes our time and yours.
So, please step back and provide us with:
- Real-world source text as you will be receiving it, that you want to process in some way.
- Real-world results of exactly what you want to get after processing.
- The rules for processing.
Please provide all example text in a Forum Code Block.
Finally, please read:
Tip: How Do I Get The Best Answer in the Shortest Time?