In this string “NM1IL1WeberDanyaEllen34651263465~N3” how to extract “WeberDanyaEllen” in UiPath
Check the below regular expression to extract the required output,
- Assign -> Input = "NM1IL1WeberDanyaEllen34651263465~N3"
- Assign -> Output = System.Text.RegularExpressions.Regex.Match(Input.toString, "[A-Za-z]+(?=\d+\~)").Value
Check the below workflow for better understanding,
Hope it helps!!


