Two Laptop Bag*
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
JavaRanch » Java Forums » Java » Java in General
Bookmark "regex help" Watch "regex help" New topic

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

Joined: Oct 27, 2005
Posts: 19654

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

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:
subject: regex help
Similar Threads
JQuery XML parsing and HTML construction
selecting pure text in jquery
Embedding Lists in XHTML
How to overlap two or more <div>s?
set values in a table from other