capitalization with regular expressions

Results 1 to 3 of 3

Thread: capitalization with regular expressions

  1. #1
    Join Date
    Dec 1969

    Default capitalization with regular expressions

    I am writing a script to parse through the folders in my website. I want to exclude a few files from being viewed. How do I write a regular expression that ignores capital letters?<BR><BR>For example, if I want to find all of ActiveServer, activeserver, ACTIVESERVER, and Activeserver, what must I use for the regular expression?<BR><BR>Thanks!

  2. #2
    Join Date
    Dec 1969
    Indianapolis, IN

    Default Use the UCase() function... <eop>


  3. #3
    Join Date
    Dec 1969

    Default RE: Just Incase..

    ..<BR><BR>blnGotIt = strYourStringOrWhatever.test(/"activeserver"/i)<BR><BR>&#060;-- Look up RegExp in the VbScript reference on the left<BR><BR>and it has all the syntax there for you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts