Regex code added