Added Regex validation.