Please be careful about spellings: it's not "wud" but "would".
Joined: Dec 25, 2009
Apologies for the short words . Thanks for bringing to attention . Corrected the same with a strike through.
I am new to replying posts in Javaranch. Till date was only reading it. Thought of putting some time to help other to the way I can. Will take care going forward about spellings
Joined: Oct 13, 2005
Joined: Aug 03, 2008
well praveen, i got the answer for the same long back. In s.matches("\\d(\\.)") the regex expression applies to the entire string, i mean if the string was str = 2. or 654. then this expression would have worked out.But for a string like 2.34 the correct regex would be "\\d\\.\\d+" now it will work.
Anyways thanks for your effort.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com