Translations:Help:Extension:Translate/Validators/23/en

$1 is a bundled validator that can accept a custom regex and run validations.