Create phone number regex
<p>I am using "^[(\+[0-9]{1,3}\.[0-9]{4,14}(?:x.+)?]$"  regex to validate phone number. I want it to work for international numbers as well.
It is working for the patterns:
+4454475294x364</p>

<p>I want to add space and '-' also. 
example: +44 544-75294 x364.</p>

<p>What changes I need more in my regex.</p>

<p>Thanks.</p>