I have to check the user input in some input fields for a float value range with Regex.
Here are my two float value ranges for which I have not yet found a solution:
```
Case 1. (ui >= 0.0001) & (ui <= 10000.0000)
example ok: 0.0001, 10000.0000
example fail: 0.0000, 10000.0001
Case 2. (ui >= 0.0000) & (ui <= 65536.0000)
example ok: 0.0000, 65536.0000
example fail: -0.0001, 65536.0001
I have been working on a solution for this for a long time. Unfortunately without success so far. I would be very happy if someone could help me.
Here are my two float value ranges for which I have not yet found a solution:
```
Case 1. (ui >= 0.0001) & (ui <= 10000.0000)
example ok: 0.0001, 10000.0000
example fail: 0.0000, 10000.0001
Case 2. (ui >= 0.0000) & (ui <= 65536.0000)
example ok: 0.0000, 65536.0000
example fail: -0.0001, 65536.0001
I have been working on a solution for this for a long time. Unfortunately without success so far. I would be very happy if someone could help me.