Please help me make a regular expression (JS) with the following conditions
<= 24
Here is my attempt to do something
/(^\d|1\d|2[0-4]|(^\d|1\d|2[0-3])\.\d)$/gm;