-3

how would i accomplish this using regex?

Jj T
  • 9

1 Answers1

2
^[1][0-5]$

Try this.See demo.

https://regex101.com/r/vD0sJ3/7

vks
  • 67,027
  • 10
  • 91
  • 124