Using regular expressions

Discussion in 'ASP .Net Web Controls' started by Sebastian Kenny, Jan 1, 2005.

  1. Hi
    I'm quite new to Visual Studio & asp.net and I'm trying to use a Regular
    Expression.
    When trying to create the object using:

    MyRegEx = New RegExp

    Visual Studio tells me that "RegExp is not defined". What do I have to
    include, or reference, to get this right?

    Thanks
    Sebastian Kenny, Jan 1, 2005
    #1
    1. Advertising

  2. Sebastian Kenny

    Frankie Guest

    Its not declared as RegExp as in VBScript, it falls under the
    System.Text.RegularExpressions namespace under RegEx


    "Sebastian Kenny" <> wrote in message
    news:u2idVe$...
    > Hi
    > I'm quite new to Visual Studio & asp.net and I'm trying to use a Regular
    > Expression.
    > When trying to create the object using:
    >
    > MyRegEx = New RegExp
    >
    > Visual Studio tells me that "RegExp is not defined". What do I have to
    > include, or reference, to get this right?
    >
    > Thanks
    Frankie, Jan 1, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jay Douglas
    Replies:
    0
    Views:
    598
    Jay Douglas
    Aug 15, 2003
  2. Guest
    Replies:
    1
    Views:
    375
    Jerry III
    Oct 19, 2003
  3. Chris Leffer

    Validating paths using regular expressions

    Chris Leffer, Feb 21, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    300
    Chris Leffer
    Feb 21, 2005
  4. Jarkko Viinamäki
    Replies:
    1
    Views:
    4,171
    =?ISO-8859-1?Q?Daniel_Sj=F6blom?=
    Feb 22, 2004
  5. Noman Shapiro
    Replies:
    0
    Views:
    232
    Noman Shapiro
    Jul 17, 2013
Loading...

Share This Page