-4

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

Felix Kling
  • 756,363
  • 169
  • 1,062
  • 1,111

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
  • 3,731
  • 4
  • 25
  • 32