I want to allow only digits, spaces and these characters:
\
+
(
)
I'd like it to be a minimum of 6 digits. The digits can be anywhere in the string.
This is the closest I can get it:
^(?=.{6,})[0-9\-\+\(\\) ]*$
My code works except for the minimum of 6 digits requirement. (It just enforces a minimum of 6 characters.)
Input text that should not match:
+()1234
Input text that should match:
+(44) 78666-05529