try this @punnipah
(LCM-C [A-Za-z]+)
e.g. input is
Memo number STO 00835/2022(1) Subject LCM-C Extral
output of
System.Text.RegularExpressions.Regex.Match(Currentitem.Subject.toString,"(LCM-C [A-Za-z]+)").Groups(1).Value
is
LCM-C Extral
try this @punnipah
(LCM-C [A-Za-z]+)
e.g. input is
Memo number STO 00835/2022(1) Subject LCM-C Extral
output of
System.Text.RegularExpressions.Regex.Match(Currentitem.Subject.toString,"(LCM-C [A-Za-z]+)").Groups(1).Value
is
LCM-C Extral