How to make a regex for a number with 6 digits (integer or decimal, negative or positive) or fraction, no comma and no float (JS)

I need help for this regex, it seems too comlicated for me and I did get stuck for awhile. How can you create a JS regex with these below conditions:

  1. Maximum 6 characters including the “-“. If positive then length is 5, if negative then length is 6. So it ranges from -99999 to 99999
  2. Can be fraction: a/b or a/b/c allow. “/” cannot be next to each other. e.g. “//” is wrong.
  3. No comma allow, use “.”.
  4. No float, no alphabet allow, no special character rather than “-“,”.” and “/” allow.
  5. Since it’s a number, “.” and “-” can only appear once. “-.2222” is valid