How to write the JS regular expression "only two decimal places are allowed"

allowed input is 0.01, 1.01, etc.

Mar.31,2021

  1. if the title is understood to be limited to two decimal places, use / ^ (-)? (0 | [1-9]\ d *) (\ s | $|\.\ d {1pc2}\ b) / perfectly matches the following situations:

      

    Strig.split ('.') [1] .length limit

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4d47f-43c47.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4d47f-43c47.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?