View Full Version : RegEx
25 Dec 2010, 11:11 PM
Can you please let me know what is the RegEx for Long to set for TextBox?
Thanks in advance
25 Dec 2010, 11:13 PM
i mean i need to set Decimal value for TextBox( for example 23.1 or 1.23 etc)
You need to be more precise. What about 123.456?
26 Dec 2010, 8:04 PM
just i gave example. user should be able to enter any valid decimal value it can be 123.456 or 2.345, 0.65, or any decimal values
You can find many examples for this with google. \d for example will help you to target numbers. Take a look at this examples: http://regexlib.com/DisplayPatterns.aspx?cattabindex=2&categoryId=3
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.