ng-pattern regex to match multiple conditions
<p>I'm using ng-pattern to validate a field for the following conditions. Thus far I'm only able to validate the last two conditions using the following regex. When I add only numbers, I'd like to validate the length as well.</p>

<p>How can I validate all four conditions inside ng-patter? Do I need to surround then with brackets separately?</p>

<pre><code>data-ng-pattern="/^[0-9-\s()+]+$/"

11111111
111111111
11-111-111
111-111-111
</code></pre>

<p>I'd like to validate multiple conditions </p>