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

Regular expression

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

    :omg:i want reg exp for allow only Numeric value and only one decimal point this is need for enter the price/rate.. ex- 1000.99,.09 (allow) and not allowed for any other cherector ex- [ a32.%],100$,} thanx in advace uregent

    C K 2 Replies Last reply
    0
    • V Virendrak

      :omg:i want reg exp for allow only Numeric value and only one decimal point this is need for enter the price/rate.. ex- 1000.99,.09 (allow) and not allowed for any other cherector ex- [ a32.%],100$,} thanx in advace uregent

      C Offline
      C Offline
      Carsten Zeumer
      wrote on last edited by
      #2

      Try this one: ^\d*\.\d{2}$ this should work fine for you. /cadi

      1 Reply Last reply
      0
      • V Virendrak

        :omg:i want reg exp for allow only Numeric value and only one decimal point this is need for enter the price/rate.. ex- 1000.99,.09 (allow) and not allowed for any other cherector ex- [ a32.%],100$,} thanx in advace uregent

        K Offline
        K Offline
        Kareem Shaker
        wrote on last edited by
        #3

        Hi you can check www.Regexlib.comfor any regex and you can use the [Regulator](<a href=)[^] Expresso[^], Regulator is better as it uses one webservice to search regexlib.com, you will find a repository of regexes there, enjoy it ! Kareem Shaker

        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