function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Try this rule its working fine
NOT
(
REGEX
(
FieldApiName,
"[0-1]{1}[0-9]{1}:[0-5]{1}[0-9]{1} - [0-1]{1}[0-9]{1}:[0-5]{1}[0-9]{1}"
)
)
Thanks
Akshay
All Answers
REGEX(Text Field, "[0-2][0-3]:[0-5][0-9]-[0-2][0-3]:[0-5][0-9]")
)
Please use this, hope this will helpful:
NOT(REGEX(Field__c , "[\\d]{1,2}:[0-5]{1}[0-9]{1}"))
Thanks
Akshay Dhiman
I think your answer is for HH:MM formate but my requirments is HH:MM-HH:MM(first is start Start time and second for end time)
Try this rule its working fine
NOT
(
REGEX
(
FieldApiName,
"[0-1]{1}[0-9]{1}:[0-5]{1}[0-9]{1} - [0-1]{1}[0-9]{1}:[0-5]{1}[0-9]{1}"
)
)
Thanks
Akshay