Nicely done :)
Always choose carefully when choosing to use a regular expression of course. Our primary application at work is for input validation, drawing heavily on the excellent work done in OWASP: owasp.org/index.php/OWASP_Validati...
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.