Finally perfected the regex.