Form Validation Using Regex In Python Dataframe Append