Extraer Cadena de Texto

Hi @SADID_ALEXIS_ROMERO_MAHEC ,

Could you give this a try?

image

((?<=El\s).*\d{4})|([A-Z]{2,})
System.Text.RegularExpressions.Regex.Match(str_variable,"((?<=El\s).*\d{4})|([A-Z]{2,})").Value

Kind Regards,
Ashwin A.K

1 Like