Read file Txt

Hi @sebasmc07,

Use Matches activity

First Value:
Use Matches activity
Properties
Input : YourInputString
Pattern : ((?<=DE FACTURA:).*(?=FECHA:))
Result: iEnumResult ->IEnumberable
after that use assign activity to get the data
strFirst=iEnumResult (0).ToString()

Second Value:
Use Matches activity
Properties
Input : YourInputString
Pattern : ((?<=Para:).*(?=Enviar))
Result: iEnumResult ->IEnumberable
after that use assign activity to get the data
strSecond=iEnumResult (0).ToString()

Third Value:
Use Matches activity
Properties
Input : YourInputString
Pattern : ((?<=SUBTOTAL:).*(?=RETENCION))
Result: iEnumResult ->IEnumberable
after that use assign activity to get the data
strThird=iEnumResult (0).ToString()

Regards,
Arivu