Regex for Date- Uipath activity

Hi guyz, I have to use regex for 30 November 2023. This value can be dynamic.Can anyone please help me with regex expression to check this.

Hi @Anjali_Rani

Check the below one,

\d+\s*\w+\s*\d+

Check the below image for better understanding,

1 Like

@Anjali_Rani

Please try this

\d{1,2} [a-zA-Z]* \d{4}

Added screenshot of results

Cheers

1 Like

@Anjali_Rani

System.Text.RegularExpressions.Regex.Match(input,“\d{2}\s+[A-Z a-z]+\s+\d{4}”).Value

1 Like

Sure,Thanks let me check

Hi @Anjali_Rani

Try this:
\d+\s+\w+\s+\d+

1 Like

Check the below image for better understanding… @Anjali_Rani

Hope it helps!!

1 Like

Hey @Anjali_Rani

Take a look here to learn more about Regex.

Cheers

Steve

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