Regular Expression \w

Discussion in 'ASP .Net' started by Jim Heavey, May 12, 2004.

  1. Jim Heavey

    Jim Heavey Guest

    I see that I can use \w which is the same as [a-bA-Z_0-9], but does this
    mean it allows spaces? What is the "_" do in that pattern?
     
    Jim Heavey, May 12, 2004
    #1
    1. Advertising

  2. That expression means any letter, any number, or the underscore character.
    Spaces wouldn't count.

    http://bioregex.stanford.edu/orna/regex/regular-expressions.htm

    "Jim Heavey" <> wrote in message
    news:Xns94E6BCB9FE2B3JimHeaveyhotmailcom@207.46.248.16...
    >I see that I can use \w which is the same as [a-bA-Z_0-9], but does this
    > mean it allows spaces? What is the "_" do in that pattern?
     
    Ken Cox [Microsoft MVP], May 12, 2004
    #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. Keith-Earl
    Replies:
    1
    Views:
    468
    Mary Chipman
    Jun 15, 2004
  2. VSK
    Replies:
    2
    Views:
    2,356
  3. =?iso-8859-1?B?bW9vcJk=?=

    Matching abitrary expression in a regular expression

    =?iso-8859-1?B?bW9vcJk=?=, Dec 1, 2005, in forum: Java
    Replies:
    8
    Views:
    873
    Alan Moore
    Dec 2, 2005
  4. GIMME
    Replies:
    3
    Views:
    12,026
    vforvikash
    Dec 29, 2008
  5. Noman Shapiro
    Replies:
    0
    Views:
    245
    Noman Shapiro
    Jul 17, 2013
Loading...

Share This Page