title: Outlook Script To Check for Text In Body
body: <p>I have a script we use. What I need a portion of this to do is look for a link embedded in the e-mail and skip the script if it finds it. However, it's not working:</p>
  
  <pre><code>If Item.Class = "43" Then
  If InStr(Item.Body, "https://mywebsite.local/TEMP*") = 1 Then
  GoTo NonEmailError
  End If
  </code></pre>
  
  <p>So after the TEMP is actually some random characters. It doesn't appear the wild card works in the above. Is there a way to use a wildcard in this type of statement? What can I do here?</p>