Save Mail Attachments Filter Regex

Hi!

Can you enlighten me about the filter parameter of the Save Attachments Activity?
The process will save the attachment that follows this format "CustName_InvoiceNo_InvoiceDate".
It was able to run by using this regex "(?:([a-zA-Z]+)_([0-9]{5,})_([0-9]{6})\.(pdf))" but not with this "^(?:([a-zA-Z]+)_([0-9]{5,})_([0-9]{6})\.(pdf))$".
Additional details: The emails contain only the attached invoice PDFs

@Edgado_De_Asis Welcome to the UIPath Community. UIPath doesn’t support ^ and $ (Start and End Point). Don’t use those, the first expression is correct enough
(?:([a-zA-Z]+)_([0-9]{5,})_([0-9]{6})\.(pdf))

1 Like