regular expression should check format strictly