Help with Regex (Dart/JS) expression

Hi community

I need help with defining a Regex (dart/JS) expression for allowing only (Numbers) and (-.,)

Example: 200-300, 50-400, 3-5, 1-5, 1.5-3, 2.5-5

Hope you get the point 😀

2
2 replies