Question Gmail does not work with SMTP


New member
Sep 9, 2021
Programming Experience
Until I figure out a way to make Gmail work in my VB.Net program, I need to stop users from entering their Gmail email address. I am trying to use a Regular Express Validator to block only email addresses with gmail.

Please suggest a Validation Expression for this.
Please post in the most appropriate forum for the topic. VS forums are for question about using the VS IDE. If there is no more specific forum that suits, language questions belong in VB.NET General. Thread moved.
I'm pretty hopeless with regular expressions but aren't you just looking for anything that ends with ""? That seems a pretty easy thing to match. If I wanted to do that, I'd look for a regular expression to match the end of a string and I'm fairly confident I'd find something pretty quickly. Maybe I'm missing something here.