More precise Regex but also more tolerant.

 Check this page: http://regexr.com/38v6m