Check if date is in dd/MMM/yyyy format

How do i check if a date/String is in the correct Format: dd/MMM/yyyy.

Hi @TyraS

You can use Regex for checking the format
Use Is match Activity

Then use in the If Condition


1 Like

Hi, how about if only accept “/” in between, without “.” or “-”


Check as below

Hope this may help you


1 Like


As You can try @Srini84 suggestion

@TyraS - Below code will give true or False…


Since September does not has 31st, it gave False in the 3rd statement…

1 Like