Could not get output on TextParser Match Patern. (Std & Advanced)

:bullseye: What is your goal?

I need to get diferent text from email. to put in a google sheet
Need:
Referencia:
Pedimento:
Operación:
Cliente:
Proveedor:
Contenedor:
Transporte:

Got a RegExp:
/Referencia:\s*(?[A-Z0-9-]+).?
Pedimento:\s
(?\d+).?
Tipo de Operación:\s
(?[A-ZÁÉÍÓÚÑ]+).?
Importador\s
/\sExportador:\s(?[A-Z0-9\s.]+).?
Proveedor:\s
(?[A-Z0-9\s.]+).?
Contenedor:\s
(?[A-Z0-9]+).?
Transporte:\s
(?[A-Z0-9]+)/gm

TEXT to test
la siguiente operación:
Referencia: AL26-0066
Pedimento: 6000074
Tipo de Operación: IMPORTACIÓN
Importador / Exportador: GRUPO INDUSTRIAL BETHA SA DE CV
Proveedor: GELEON COMPANY S.A.
Contenedor: MSMU3740141, MSNU3675029
Transporte: WIDEHOTEL

:thinking: What is the problem & what have you tried?

the text parser does not get any output
and text parser (advance) same settings just gets a FALLBACK.

:camera_with_flash: Screenshots (scenario flow, module settings, errors)

1 Like

Hey there,

is the structure going to be fixed?

You can try with this one:

Referencia:\s*(.+)\r?\n[\s\S]*?Pedimento:\s*(.+)\r?\n[\s\S]*?Tipo de Operación:\s*(.+)\r?\n[\s\S]*?Importador\s*\/\s*Exportador:\s*(.+)\r?\n[\s\S]*?Proveedor:\s*(.+)\r?\n[\s\S]*?Contenedor:\s*(.+)\r?\n[\s\S]*?Transporte:\s*(.+)
1 Like

thankyou. Stoyan_Vatov now is working.. just with out tags… in the Standard one..
The advanced one does not work even with the RegExp changed. still the same…

Thanks again

1 Like