Regex to extract account number from a path with specific format

Hello @mnlatam , Try this regex expression
(?=123)\d{12}

System.Text.RegularExpression.Regex.Match(YourString,"(?=123)\d{12}").ToString.Trim

Regards,
Gokul Jai

1 Like