If your desired text pattern is unique OR constant you can ‘collect it’ using Regex with one activity. Take a look here.
If you provide a Sample, expected Output, and tell us what is consistent / provide information on the Pattern.
You can also achieve this using String Manipulation.
Take a look here at these two posts:
- How to manipulate a part of string: Split, Trim, Substring, Replace, Remove, Left, Right - News / Tutorials - UiPath Community Forum
- Regex help tutorial MEGAPOST – Making your first Regex post, Reusable Regex Patterns, Regex Troubleshooting, Sample Workflow and more - News / Tutorials - UiPath Community Forum
Cheers
Steve