-4

How to create regEx from getting result is number in range from 0.01 to 1 000 000 Thanks

Felix Kling
  • 795,719
  • 175
  • 1,089
  • 1,143

1 Answers1

0

The answer is that you wouldn't want a regular expression for that.

Instead you can simply test your number like n >= 0.01 && n <= 100000.

Webber
  • 4,672
  • 4
  • 29
  • 38