Regex for field that allows numbers and spaces
^
for the begining of string.
[\d ]*
for any combination of this symbols.
$
for end of string.
^[\d ]*$
This one should work :
[0-9 ]+
^
for the begining of string.
[\d ]*
for any combination of this symbols.
$
for end of string.
^[\d ]*$
This one should work :
[0-9 ]+