Jump to content

winjunkie

Member
  • Posts

    2
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Australia

Everything posted by winjunkie

  1. Sorry about that, I just thought since i found it right after i posted, i should delete the topic and not waste everyones time. And since i said that i found the answer at the script guy a search should of put anyone on the right track. But anyway. next time i won't delete a post but add on to it and provide complete links I found this site: http://www.microsoft.com/technet/scriptcen...08/hey0626.mspx The script guy talks about being able to copy multiple items using a criteria. I still have not done this, I haven't had much time lately but what i found relevent was this part: objRegEx.Pattern = "^FS|^CG|^GPS." What we’re doing here is defining the criteria for our regular expression search. In this case, we’re looking for one of three possible matches. How do we know that there are three possible matches? Because of the pipe character (|), which serves the same function as the word or; in this Pattern we’re looking for ^FS or we’re looking for ^CG or we’re looking for ^GPS. See how that works? " That’s nice, but what exactly are we searching for (i.e., what does the syntax ^FS actually mean)? Well, in regular expressions the caret symbol (^) means “at the beginning of the string.” (Actually, the caret symbol has another meaning besides that, but we’ll ignore that other meaning for now.) As it turns out, this syntax is remarkably easy to decipher: we’re simply looking for the letters FS at the beginning of the string. And if we don’t find those two letters we’ll check to see if the letters CG or GPS can be found at the beginning of the string instead. If any of those things are true, then we have ourselves a match." Hope this is cool
  2. *Edited* Found a site (scripting guy) that explains how to do this. Thanks Anyway
×
×
  • Create New...