I need to create regex pattern to validate input value. Value must by string which look like this: 1234567/00/AB/1234/123456
in words 6 digits slash 2 zero slash two upper letters (3 possiblities AA or AB or AC) slash 4 digits slash 6 digits. Now i have something like this but not's work
'regex:/^\[0-9]{7}\/\[0]{2}\/\[A-Z]{2}\/\[0-9]{4}\/\[0-9]{6}/'
Use this one:
[0-9]{6}\/[0]{2}\/(AA|AB|AC)\/[0-9]{4}\/[0-9]{6}
{6}
)(AA|AB|AC)
)