Want just to retrieve only pwd from below text in a variable:
Generated password for user: a(bC1]iA
this generated pwd can be of any length or any sort of alphanumeric
Want just to retrieve only pwd from below text in a variable:
Generated password for user: a(bC1]iA
this generated pwd can be of any length or any sort of alphanumeric
try →
Password= new System.Net.NetworkCredential(string.Empty, Input_Password_Variable).Password
HI,
How about the following?
System.Text.RegularExpressions.Regex.Match(yourString,"(?<=user:\s+)\S.*").Value
Regards,
Thank you so much
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.