regular expression nothing to repeat
<p>can some answer me to what i have done wrong with regexp. I need to write regexp that pass value from phonenumber only with this these three formats:
"+38 (093) 937-99-92" and "093 937 99 92" and "(093) 937 99 92"</p>

<p>during i have start writing that thing i had an error <a href="http://i.stack.imgur.com/ZxrDb.png" rel="nofollow">example of error and how i do</a></p>

<p>I know about escaping symbols but in my example all symbols i escaped, all other is the part of regular expression as i know ... </p>

<pre><code>$.validator.addMethod("phone", function(value, element) {

        return /^\+[0-9]{2}\([0-9]{3}\)[0-9]{3}+$/i.test(value);
    }
</code></pre>