Regular expression for punctuation

Discussion in 'ASP .Net' started by Chris Leffer, Jul 9, 2003.

  1. Chris Leffer

    Chris Leffer Guest

    Hi.

    I am trying to define a regular expression that accepts letters and
    punctuation characters. I read something about Posix where I could use
    [:punct:] in order to accept all the punctuation characters, but I could
    not find how to add this to my expression. My expression is a simple
    [A-Za-z]. How can I make it accept all the punctuation characters also?

    Regards,

    Chris Leffer


    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
    Chris Leffer, Jul 9, 2003
    #1
    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. Chris R. Timmons

    Re: Regular expression for punctuation

    Chris R. Timmons, Jul 10, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    471
    Chris R. Timmons
    Jul 10, 2003
  2. VSK
    Replies:
    2
    Views:
    2,272
  3. DBLWizard
    Replies:
    10
    Views:
    737
    Brock Allen
    Apr 2, 2005
  4. =?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:
    831
    Alan Moore
    Dec 2, 2005
  5. GIMME
    Replies:
    3
    Views:
    11,921
    vforvikash
    Dec 29, 2008
Loading...

Share This Page