Hi @Stef_99
Here is one approach:
1. For the first Output:
- The Assign Statement::
output1 = System.Text.RegularExpressions.Regex.Match(inputString, "\S{3}-\d{8}-\d{6}-Trik-\d+").Value
- The regex pattern used is:
"\S{3}-\d{8}-\d{6}-Trik-\d+"
1. For the second Output:
- The Assign Statement::
output2 = System.Text.RegularExpressions.Regex.Match(inputString, "(?<=_).*").Value +"-" + System.Text.RegularExpressions.Regex.Match(inputString, "Trik-\d+").Value
- The regex patterns used are:
"(?<=_).*"and"Trik-\d+"
The Results:
If this solves your issue, Do mark it as a solution.
Happy Automation ![]()
