I was struggling to get jQuery Validation Plugin's regexes working with PHP, to make the server side validation behave exactly the same as the client side validation. I got it working after some hours (and much frustration), so I'd like to share it with all of you!
The regexes are modified versions of the regexes included in jQuery Validation Plugin 1.9.0.