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
  1. Home
  2. General Programming
  3. C#
  4. Regular expression for 0 to 1000

Regular expression for 0 to 1000

Scheduled Pinned Locked Moved C#
csharpregex
7 Posts 7 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.
  • V Offline
    V Offline
    velkumar_in
    wrote on last edited by
    #1

    Dear Friends, I need a Regular Expression for validate a text box which allows 0 to 1000 in C# Windows applications...

    C S V G 4 Replies Last reply
    0
    • V velkumar_in

      Dear Friends, I need a Regular Expression for validate a text box which allows 0 to 1000 in C# Windows applications...

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Sounds trivial to me. What have you done so far ?

      Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

      O N 2 Replies Last reply
      0
      • V velkumar_in

        Dear Friends, I need a Regular Expression for validate a text box which allows 0 to 1000 in C# Windows applications...

        S Offline
        S Offline
        ScottM1
        wrote on last edited by
        #3

        http://regexlib.com/[^]

        1 Reply Last reply
        0
        • V velkumar_in

          Dear Friends, I need a Regular Expression for validate a text box which allows 0 to 1000 in C# Windows applications...

          V Offline
          V Offline
          V 0
          wrote on last edited by
          #4

          is a numericUpDown control not an option?

          V.
          Stop smoking so you can: Enjoy longer the money you save. Moviereview Archive

          1 Reply Last reply
          0
          • V velkumar_in

            Dear Friends, I need a Regular Expression for validate a text box which allows 0 to 1000 in C# Windows applications...

            G Offline
            G Offline
            Guffa
            wrote on last edited by
            #5

            0|[1-9]\d{0,2}|1000

            Despite everything, the person most likely to be fooling you next is yourself.

            1 Reply Last reply
            0
            • C Christian Graus

              Sounds trivial to me. What have you done so far ?

              Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

              O Offline
              O Offline
              outerhell
              wrote on last edited by
              #6

              Lol you made me smile this morning!

              1 Reply Last reply
              0
              • C Christian Graus

                Sounds trivial to me. What have you done so far ?

                Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

                N Offline
                N Offline
                Nagy Vilmos
                wrote on last edited by
                #7

                Err, [s]he's posted a message on thisd forum and you've replied. Now it's #your# problem. :laugh:


                Panic, Chaos, Destruction. My work here is done.

                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