I need regex for bank routing number starts with 01 to 12 or 21 to 32 in javascript

后端 未结 0 812
渐次进展
渐次进展 2020-12-21 13:01

I am using this below regex to check 01 to 12 and hardcoded 21 to 32 to validate. Looking for better solution without hardcoding.

^(?=(?:[0][0-9]|1[0-2])|21|22|23|24|

相关标签:
回答
  • 消灭零回复
提交回复
热议问题