I want to validate a phone number as follows - minimum 10 digits, allow spaces, allow hyphen, and allow round brackets.
I have the following so far but it doesn't seem to work:
(!preg_match('/\d\s-(){10,}+$/', $phone))
Anyone got any ideas what I'm doing wrong?