Regex formula to get date from a string

Hello,

I’ve tested many regex format to exract a date from the Following string:

Prélévement du : 16-08-2019 11:55 / AZ - LEE 9 AV CA

but it does not work

\d{1,2}.\d{1,2}.\d{4}
this will extract the date

thanks but if there is 15/08/2019 or 16/08/19 or 16-09-19

\d{1,2}.\d{1,2}.\d{2,4}

Hi
here you go use this expression
System.Text.RegularExpressions.Regex.Match(strinput.ToString,"\d+\W\d+\W\d+").ToString

image
Cheers @abdel

1 Like

thinks, how to use Abby engine, i had dowloaded the abby flexicapture and put some pkg in the packages but it does not work

is that abby flexi is a licensed one
@abdel

no a trial

we need a licensed version to run them buddy @abdel

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.