Quote:
The patterns with the letters in them are not necessary, but it would be nice to include them.
|
you could Case Select based on length of str and include the letter
Code:
Select Case Len(str)
Case 3: If str Like "##[.]" Then ok = True
Case 4: If str Like "##[.][A-Z, a-z]" Then ok = True
' etc
End Select