Hello Expertise team
Please help me on how to search a date present in the string of the document of any file type and date is any formate like 03 Janaury 2019, 02/03/2019, 2/3/2019, 3 Jan 2019, etc. in the document. Can a robot search this one?
Thank you.
hi @Kuenzang
You must make it using regular expresion → ^([0-2][0-9]|3[0-1])(/|-)(0[1-9]|1[0-2])\2(\d{4})$
If your string is “aux”, you can do: aux.tostring.replace(“^([0-2][0-9]|3[0-1])(/|-)(0[1-9]|1[0-2])\2(\d{4})$”,“”)
Cheers,
Pablo