I have a parameter of
refreshTime. The default value is blank.
When my step runs in this instance, the parameter becomes
Last refreshed: less than a minute ago Refresh Results
I need to apply a validation to ensure that the parameter contains either hour, hours, minute, or minutes. If it doesn’t contain one of those four words, then the step should fail.
I’ve set my RegEx validation to
/^.*(minute)|(minutes)|(hour)|(hours).*$/m but I’m not having any success (it’s showing this step as failing, when it should show as passing).
I’d love some help on this! I’m a RegEx noob.