Regular Expression -- numeric only
Last Post 01-11-2010 04:53 PM by GeekGirl. 2 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages
GeekGirlUser is Offline
wading in the water
wading in the water
Posts:20
Avatar

--
01-11-2010 04:13 AM

    I am a total newbie to regular expressions.  I have a textbox that requires a whole number entry of any length, integers only.  Could someone lend an assist with the appropriate regular expression validator?  Thank you so much.

    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    01-11-2010 06:28 AM
    HI, you might consider checking out this website:
    http://www.regexlib.com/DisplayPatt...tegoryId=3

    It should have something you're looking for.
    Something like this:

    ^\d{1,7}$

    would only accept integers up to seven digits long. No negative numbers. -- David
    GeekGirlUser is Offline
    wading in the water
    wading in the water
    Posts:20
    Avatar

    --
    01-11-2010 04:53 PM

    Thank you very much, David, for the solution and for the URL to the regular expression library Web site.  They saved me considerable time and effort.



    ---
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi