Regex extraction method

Hi Experts,I need to took KL0871 string value seperately from this group of string “AMS - DELKL087105SEP 14:25- 06SEP 01:451 pceCONFIRMED” how to extract it???

Hi,

Is the prefix always DEL? If so, can you try the following expression?

System.Text.RegularExpressions.Regex.Match(yourString,"(?<=DEL).*?(?=\d\d(JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC))").Value

Regards,