Results 1 to 3 of 3

Thread: Help with regex expressions

  1. #1

    Thread Starter
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729

    Help with regex expressions

    I have this "usual" windows wildcard: "*ftp*ftp* 0 *-*-*-*"
    Can anybody tell me what is the equivalent of this "windows wildcard" to a regular expression so I can use it with Regex.IsMath()?

    Or is there any other string function that will accept a "regular windows wildcard" string?

    Thanks in advance
    \m/\m/

  2. #2
    Fanatic Member VBCrazyCoder's Avatar
    Join Date
    Apr 2003
    Posts
    681
    I think \S* will give you zero or more occurences of any non-white space character.

    .* says zero or more occurences of any character except newline.

    Will these work for you?

  3. #3
    Lively Member JAtkinson's Avatar
    Join Date
    Feb 2004
    Location
    Richmond, VA
    Posts
    68
    I have this (but rarely use it). You may find it useful from time to time.

    http://www.codeproject.com/dotnet/expresso.asp

    James
    Visual Studio .net 2003 EA
    VB .net
    C#

Posting Permissions

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



Click Here to Expand Forum to Full Width