P pvong Dec 20, 2007 #1 Can someone help me write a regex that will accept number but NO COMMAS. Yes to 123456.78 No to 123,456.78 Thanks! Phil
Can someone help me write a regex that will accept number but NO COMMAS. Yes to 123456.78 No to 123,456.78 Thanks! Phil
A Alexey Smirnov Dec 20, 2007 #2 Can someone help me write a regex that will accept number but NO COMMAS. Yes to 123456.78 No to 123,456.78 Click to expand... Hi Phil, Do you need it for the RegularExpressionValidator control? Try this one ^\d+(\.\d\d)?$ Hope it works
Can someone help me write a regex that will accept number but NO COMMAS. Yes to 123456.78 No to 123,456.78 Click to expand... Hi Phil, Do you need it for the RegularExpressionValidator control? Try this one ^\d+(\.\d\d)?$ Hope it works
A Alexey Smirnov Dec 20, 2007 #3 Hi Phil, Do you need it for the RegularExpressionValidator control? Try this one ^\d+(\.\d\d)?$ Hope it works Click to expand... If the digits after the decimal point are always there: ^\d+\.\d\d$
Hi Phil, Do you need it for the RegularExpressionValidator control? Try this one ^\d+(\.\d\d)?$ Hope it works Click to expand... If the digits after the decimal point are always there: ^\d+\.\d\d$
P pvong Dec 20, 2007 #4 Yes and this is perfect!!!! Thanks! Alexey Smirnov said: Hi Phil, Do you need it for the RegularExpressionValidator control? Try this one ^\d+(\.\d\d)?$ Hope it works Click to expand...
Yes and this is perfect!!!! Thanks! Alexey Smirnov said: Hi Phil, Do you need it for the RegularExpressionValidator control? Try this one ^\d+(\.\d\d)?$ Hope it works Click to expand...