title: Only Numbers, dots, comma and slash
body: <p>I am trying to create a regex that will accept as values only the following </p>
  
  <pre><code>1
  1.1
  .1
  1,1
  ,1
  1/1
  11
  111
  1111
  and so on...
  </code></pre>
  
  <p>or else: A number that may be followed by a dot OR a comma OR a slash and a number at the end.</p>
  
  <pre><code>\d*(?:\.|\,|\/)\d
  </code></pre>
  
  <p>using this regex I only capture the 1.1 .1 1,1 ,1 but I cant capture if the user will enter only a number eg 1 or 11 or any integer number with unknown number of digits.</p>