Error in using validator`s for string validation.
![]()
Hi ,
I created a validator using the regular expression which should allow either
00000000 or 00000000-00 as below
(([0-9]{8})|([0-9]{8}-[0-9]{2});?)+
when test using the test filed it is working fine but the real thing is not working as expected , i mean the attribute which is using this validator is allowing only the 00000000 as the correct value.
Could some please help me in understanding this issue?
Thanks
Surender
|
One answer
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.