Want to work with us? We're on the lookout for digital experts.

We're hiring

Validation String Check For Invalid Characters

Web Bureau

10 November 2010 by Web Bureau

sInvalidChars = "!#$%^&*()=+{}[]|\;:'/?>,< "

For iPos = 1 To Len(AddressString)

  If InStr(sInvalidChars, Mid(AddressString, iPos, 1)) > 0 Then
    IsValidEmailAddress = False
    Exit Function
  End If



Grow your businessStart a project with us today.

This site uses essential cookies for parts of the site to operate and have already been set. Find out more about how we use cookies and how you may delete them. You may delete cookies, but parts of the site will not work.