Check text in text box ends with .co.uk?
Posted on 2008-10-27
Can someone please show me how to add a validation check to my textbox to make sure it ends with .co.uk when a button is pressed?
The reason for this is that i'm using an application to send emails, however the system i'm pulling the details from sometimes misses the end of the email address. Therefore this way, I can stop the emails from sending / give an error if the email address in SendTo.Text does not end in .co.uk.