Hi @Stef_99
Use this regex in UiPath:
-
For first output:
^(AAK-\d{8}-\d{6}-Trik-\d+)- Use
System.Text.RegularExpressions.Regex.Match(input, pattern).Value
- Use
-
For second output:
(\d{2}[A-Z]{3})-Trik-\d+- Use
System.Text.RegularExpressions.Regex.Match(input, pattern).Value
- Use
Let me know if you need adjustment