This should do it...
[0-9]{1,5}\.[0-9]{1,5}\.[0-9]{1,5}
[0-9]
is basically match an number between 0 and 9.
{1,5}
means to repeat the number matching 1 to 5 times (9, 99, 999, 9999, 99999).
\.
just checks for the full stop/dot/decimal/point whatever you want to call it.
And here is a visual representation...

The above image is take from https://www.debuggex.com/ which I found to be a super useful tool when learning regex.
You mentioned "Digits from 0 to 99999" however, if you want to match numbers greater than 999999
such as 999999123 you can modify the regex above to...
[0-9]+\.[0-9]+\.[0-9]+
Which translates to...
[0-9]
match an number between 0 and 9.
+
means repeat the number matching infinite times.
\.
just checks for the full stop.