That would not match 0 through 9.9999999 unless they were formatted into 2 digit numbers like 00, 01, etc... 09.9999999 It also wouldnt match anything between 1 and 0 like .9999999 unless it was formatted like 00.9999999
Try this one: ^\d{0,2}(\.\d{1,7})?$ I dont know what you are using it for but there is also the possibility of negative numbers. The above will not match them either. You could say ... if (regex matches number OR number LT 100) to get the negatives if it matters. cheers -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.17.14/657 - Release Date: 1/29/2007 9:04 AM ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267967 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4