File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Simple regular expression!
Joined: Jan 07, 2004
Dec 15, 2005 07:42:00
I want to use regular expression to
if a price (decimal) has the correct format:
Now I�m allowed to type in a positive integer with 2 decimals, i.e. 15.50.
I also want to be able to type in a positive integer with 1 decimal only!
Have can I do that?
Joined: Nov 08, 2001
Dec 15, 2005 07:49:00
It is sorta covered in the
JavaRanch Style Guide
subject: Simple regular expression!
RegExpr to Add Comma and Decimal Points
The regular expression to parse �(abc.3, d.42), (cde.2, 3)�
how to operate on big Integer?
Needed help in composing an regular expression
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014