08-04-19, 10:45 AM
شكرا على المعلومات .لكن و بفضل الله تمكنت من التوصل الى كود و اريد مشاركته مع باقي الأعضاء
PHP كود :
Private Sub Numero_passportTextBox_Leave(sender As Object, e As EventArgs) Handles Numero_passportTextBox.Leave
If Regex.Match(Numero_passportTextBox.Text, "^[A-Z]{1}\\*[0-9]{6}$").Success Then
MsgBox("ok")
Else
MsgBox(" no")
Numero_passportTextBox.Text = ""
End If
End Sub
