Hello,
I am trying to split this expression AB+CD+123456+ABCDEFG ZXKV+01-Jan-2010+01-Jun-2050 and extract the last date mentioned in the expression… in this case that will be 01-Jun-2050.
Could you help me? I should mention also that this expression is a variable.
Tks
Use this below code to get the last expression, @georgiana.badea
YourDate( variable type string) = System.Text.RegularExpressions.Regex.Matches(“AB+CD+123456+ABCDEFG ZXKV+01-Jan-2010+01-Jun-2050”,“[0-9-A-Za-z]+$”)(0).ToString