Created regex validaitions, refined others.

There was a pretty significant need for regex vals in PHP storm.
There's no native way to do it and ceebs learninig the javascript
API.

Summary of changes:
- A lot.