'Regex for range -1 to 60 [duplicate]

I am stuck with a regex. It should cover a range from -1 to 60. Mine are working from 0-60 or from -1 to more than 60. Is there anybody facing the same issue?

/^\b([0-9]|[1-5][0-9]|[60])|(-1)\b/g // -1 ---> <60

/^\b([0-9]|[1-5][0-9]|60|-1)\b/g // 0 ---> 60



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source