wood burning stoves 2.0*
The moose likes Java in General and the fly likes regex help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "regex help" Watch "regex help" New topic
Author

regex help

akhter wahab
Ranch Hand

Joined: Mar 02, 2009
Posts: 151

here is the problem

what is needed is from this line i want to collect this 85 this number is variable that can change every time


Start Earning Online||Start Earning Using Java
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

And what have you tried so far? What failed? Please ShowSomeEffort.


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
akhter wahab
Ranch Hand

Joined: Mar 02, 2009
Posts: 151

i am working on the htmlunit basically and i am geting this content in the TextPage but i need to do some work on it for that it must be converted in the htmlpage so i am converting this page into htmlpage.. i have alot of ways to get this value from TextPage as well as from htmlunit.. i never work on the regex thats why i posted i want to check this in regex as efficiency is my main concern
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19725
    
  20

Check out java.util.regex.Pattern, then tell us what you've come up with.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
akhter wahab
Ranch Hand

Joined: Mar 02, 2009
Posts: 151

i solved the problem
 
 
subject: regex help