Jump to content

wolfh3art

Member
  • Posts

    3
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Portugal

About wolfh3art

  • Birthday 07/29/1982

Contact Methods

  • Website URL
    http://

wolfh3art's Achievements

0

Reputation

  1. has not set their status

  2. thanks to all for the examples, this is what i was looking for ("kb[0-9]{6}.exe"). I was using complex syntax and vbscript also uses simple... like this one. Dim objRegExp Set objRegExp = New RegExp objRegExp.Pattern = "kb[0-9]{6}.exe" objRegExp.IgnoreCase = False Dim strVariable 'strVariable = "kb987653.exe" strVariable = "kb98763.exe" If objRegExp.Test( strVariable ) Then wscript.echo "Correct File" else wscript.echo "InCorrect File" End If
  3. hi, Could someone help me discover the RegExp for KB1234567.exe I want to check if the first 2 chars are "KB", the following 6 chars are between [0-9] and the last four are ".exe". I only discovery how to check in the beginning or in the end, i don't know how to make the 3 conditions. Sorry my english, thanks
  4. I think i can awnser this one.... Just FOR FUN!!!!
×
×
  • Create New...