Hi everyone i need to extract the value from this
Its little bit hard to get valu for me can any one help on this
Input =
3-4-CFS Ed-RFD -Ed ~ output = RFD
24-4-PL Ed -RFG-Ed ~ output = RFG
246-4-AMEX Ed- AMEXI PL-Ed ~ output= AMEXI PL
Hi everyone i need to extract the value from this
Its little bit hard to get valu for me can any one help on this
Input =
3-4-CFS Ed-RFD -Ed ~ output = RFD
24-4-PL Ed -RFG-Ed ~ output = RFG
246-4-AMEX Ed- AMEXI PL-Ed ~ output= AMEXI PL
Hi,
How about the following?
System.Text.RegularExpressions.Regex.Match(yourString,"(?<=-\s*)[^-]*?(?=-Ed)").Value
Regards,
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.