dimanche 1 décembre 2019

Regex Help: How do I write a regex for the following condition

  • Should be at least 4 characters
  • Should start with a character[a-zA-Z]
  • Should not end with _
  • Should only contain at most 1 _ in the entire word
  • The word can contain [a-zA-Z0-9]

Thanks in advance.

Aucun commentaire:

Enregistrer un commentaire