I am using Regular expression to validate a field in my form.
/^BLDCT-000[1-5]$/
Means you have to enter one of 5 strings in the field:
BLDCT-0001
BLDCT-0002
BLDCT-0003
BLDCT-0004
BLDCT-0005
Now I want to use and validate other numbers, but I have no idea how to change the code:
New strings/numbers are:
BLDCT-0006
BLDCT-0007
BLDCT-0008
BLDCT-0009
BLDCT-0010
Can someone please help me get this working if possible.
How should the new code look like?
/^BLDCT-000[1-5]$/
Means you have to enter one of 5 strings in the field:
BLDCT-0001
BLDCT-0002
BLDCT-0003
BLDCT-0004
BLDCT-0005
Now I want to use and validate other numbers, but I have no idea how to change the code:
New strings/numbers are:
BLDCT-0006
BLDCT-0007
BLDCT-0008
BLDCT-0009
BLDCT-0010
Can someone please help me get this working if possible.
How should the new code look like?