Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. want to know regular expression syntax?

want to know regular expression syntax?

Scheduled Pinned Locked Moved ASP.NET
regexquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    usman_070
    wrote on last edited by
    #1

    what regular expression syntax i would use so that a user can only enter characters in a text box and digits will not be accepted. thanks -- modified at 6:22 Saturday 24th December, 2005

    M S 2 Replies Last reply
    0
    • U usman_070

      what regular expression syntax i would use so that a user can only enter characters in a text box and digits will not be accepted. thanks -- modified at 6:22 Saturday 24th December, 2005

      M Offline
      M Offline
      munklefish
      wrote on last edited by
      #2

      thats not an expression. a regular expression is a series of characters of a defined pattern eg tel number, email etc. Try using a control validator.

      M 1 Reply Last reply
      0
      • M munklefish

        thats not an expression. a regular expression is a series of characters of a defined pattern eg tel number, email etc. Try using a control validator.

        M Offline
        M Offline
        munklefish
        wrote on last edited by
        #3

        Use the range validator and enter the letters you need eg Max = z min = a simple as that.

        1 Reply Last reply
        0
        • U usman_070

          what regular expression syntax i would use so that a user can only enter characters in a text box and digits will not be accepted. thanks -- modified at 6:22 Saturday 24th December, 2005

          S Offline
          S Offline
          Skoder
          wrote on last edited by
          #4

          /[a-zA-Z]*/ ? that only allows a-z and A-Z ? or maybe i didnt understand your question :)

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups