GenericValidation

fun GenericValidation(errorMessage: String, regex: Regex)

Parameters

errorMessage

Type-specific error message String.

regex

Regex to validate on.