This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Java in General and the fly likes regex help Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply 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: 19216

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


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

Joined: Mar 02, 2009
Posts: 151

i solved the problem
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: regex help
 
Similar Threads
Embedding Lists in XHTML
set values in a table from other
How to overlap two or more <div>s?
JQuery XML parsing and HTML construction
selecting pure text in jquery