Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Regex for dynamic form

ARNAB86
Regular Contributor
Regular Contributor

HI Team,

I have created field in dynamic attribute form in global configuration page which will accept only below format

(YYYY-MM-DD HH:MM:SS) it won't accept any special character other than (- and : also YYYY it accept only four digits , then two digits for MM and two digits for DD and then space and followed by two digits for HH then two digits for MM and two digits for SS.

i have used this regex it is working for some scenario but not for others.

(?=.*\d)(?=.*[-:]).{8,20}

Thanks

Arnab Pal

3 REPLIES 3

rushikeshvartak
All-Star
All-Star
  • What scenario  its working and what not ?
  • Did you checked logs and browser console error ?

Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

it works modified the regex

Share updated regex


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.