title: Usage of RegEx in vb6
body: <p>I need to validate a string, which might contain alphanumeric as well as special character, where as I have to pass the one which has only Alpha chars (no numbers or any other special characters are allowed)</p>
  
  <p>In a current method I use ASCII numbers to evaluate each character if its alpha or not. Is there any other efficient way to discover the presence of special characters or numbers in the string? Like can't we use <strong>Like</strong> or something to check once than going character by character?</p>
  
  <pre><code>For y = 2 To Len(sString)
      If Not ((Asc(Mid$((sString,y,1))&gt;64 AND Asc(Mid$((sString,y,1))&lt;91) OR _
      (Asc(Mid$((sString,y,1))&gt;96 AND Asc(Mid$((sString,y,1))&lt;123)) Then
          //Display an error msg
          Exit For
      End If
  Next y
  </code></pre>