posabsolute/jQuery-Validation-Engine — Issue #265: German phone number regex
Author: mkalus
Created: 2012-01-31 09:15:49+00:00
State: open

I would recommend changing line 63 of jquery.validationEngine-de.js into:

```javascript
"regex": /^([\+][0-9]{1,3}[ \.\-])?([\(]{1}[0-9]{1,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/,
```

The only change is [0-9]{2,6} to [0-9]{1,6}. This will allow for the relatively common German phone format: +49 (0) 123 456789.