I would need to get the date, but I am not able to find the correct Regex code. Could you help me please?
This is the sentence and I need to get “25/11/20”.
This is what I tried: (?<=FECHA\s+)[\d,]+
But i just get “25”.
To match a date in mm/dd/yyyy format, rearrange the regular expression to
^(0[1-9]|1)- /.- /.\d\d$.
For dd-mm-yyyy format, use ^(0[1-9]|[0-9]|3)- /.- /.\d\d$.
Try with this regex,
@Angel_Llullregexx.zip (14.3 KB) Take this xaml for your reference .
i am trying this in website RegExr and it gets the date. But in Studio, the variable is empty.
Do you know why is it happening?
Thanks! But I am trying it and the variable is empty… Do you know why would it be happening?
Sorry because I did not write whole text because I thought that maybe it was not necessary. But this is the whole sentence:
011A11 00000000 FECHA 25/11/20 CALLE
Would the code change in this case?
Sorry for the inconveniences.
have a look here:
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.