Regex tester
Pattern
Input
Valid inputs:
0
1
300
300.86
300.85
300.850
300.851
1,200.2
.2
0.3333

Invalid inputs:
-1
301
300.87
300.861
1,30.2
1,.0
,.1
Options
Replacement
Click the context tab to see replacements.
9 matches found in about 6 milliseconds.
IndexPositionMatched String$1
0150 0
1181 1
221300 300
326300.86 300.86
434300.85 300.85
542300.850 300.850
651300.851 300.851
769.2 .2
881whitespaceempty string
Valid inputs:
​01300300.86300.85300.850300.851
​1,200.2
​.2
​0.3333
​
​Invalid inputs:
​-1
​301
​300.87
​300.861
​1,30.2
​1,.0
​,.1
  1. Valid inputs:
  2. 0
  3. whitespace
  4. 1
  5. whitespace
  6. 300
  7. whitespace
  8. 300.86
  9. whitespace
  10. 300.85
  11. whitespace
  12. 300.850
  13. whitespace
  14. 300.851

  15. 1,200.2
  16. .2

  17. 0.3333
  18. empty string

  19. Invalid inputs:
    -1
    301
    300.87
    300.861
    1,30.2
    1,.0
    ,.1