Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

regular expression in java

807580Sep 6 2009 — edited Sep 7 2009
Say I have a string:
44503013 20 36 57.611 -32 11 41.26 309.240046 -32.194794 708 324    18.1   -23.3  7.7  7.7 15.64 18.13  2.49210 40   2  1  1  K  
is there a library provided in java where I can extract/parse the first 8 digits found in this string? so therefore the result I get will be
44503013
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 5 2009
Added on Sep 6 2009
16 comments
162 views