Hello
If you provide the a full sample, highlight all the expected outputs and information on the pattern we could provide the Regex pattern.
Try this link:
Want to learn more about Regex? Check out my Regex Megapost
Regex help tutorial MEGAPOST – Making your first Regex post, Reusable Regex Patterns, Regex Troubleshooting, Sample Workflow and more - News / Tutorials - UiPath Community Forum