P.O. Box Validation

Discussion in 'ASP .Net' started by Simple Simon, Nov 5, 2003.

  1. Simple Simon

    Simple Simon Guest

    Hi,
    I need some help getting this P.O. Box regular expression to work, or
    a new expression entirely. I got this one from a Google Groups
    search. It seems to work at: http://regexlib.com/ but not at runtime.

    ValidationExpression="(?i)^((?<!P\.?\s?O\.?\sBox).)+(?<!P\.?\s?O\.?\sBox)$"

    Please help?

    TIA,
    ~Gordon
    Simple Simon, Nov 5, 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. mit
    Replies:
    1
    Views:
    772
    Ramu Pulipati
    Jan 25, 2006
  2. =?Utf-8?B?QW5nZWw=?=

    COMBO BOX INSTEAD OF DROP DOWN BOX

    =?Utf-8?B?QW5nZWw=?=, Jun 29, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    591
    Ken Cox [Microsoft MVP]
    Jun 29, 2004
  3. SirPoonga
    Replies:
    2
    Views:
    732
    Ben Strackany
    Jan 7, 2005
  4. Replies:
    1
    Views:
    1,133
    David Wier
    Aug 5, 2005
  5. Gnarlodious
    Replies:
    4
    Views:
    17,536
    elizas
    May 5, 2010
Loading...

Share This Page