Extract detais

In this string “NM1IL1WeberDanyaEllen34651263465~N3” how to extract “WeberDanyaEllen” in UiPath

Hi @Zuber_Shaikh

Try this

(?<=\d+\w+\d+)[A-Za-z]+

@Zuber_Shaikh

System.Text.RegularExpressions.Regex.Match(Input,"(?<=\d+\w+\d+)[A-Za-z]+").Value

Hi @Zuber_Shaikh

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!!