I've found a similar question on SO, but nothing I can get my head around. Here's what I need;
6 or more digits, with these characters allowed \s\-\(\)\+
So here's what I have /^[0-9\s\-\(\)\+]{6,}$/
The problem is, I don't want anything other than the number to count towards the 6 or more quantifier. How can I only "count" the digits? It would also been good if I could stop those other allowed characters from being entered adjacently e.g:
0898--234
+43 34 434
After an hour of reading up and looking at a regex cheat sheet, I'm hoping some kind person can point me in the right direction!