I want that the text field only accept numeric values and spaces. What is regular expression for this? I was trying with \\d+$ Thanks
\\d+$
You're going to want to use [0-9 ]+
[0-9 ]+