Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

regex help

 
akhter wahab
Ranch Hand
Posts: 151
Java MyEclipse IDE Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Wouter Oet
Saloon Keeper
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And what have you tried so far? What failed? Please ShowSomeEffort.
 
akhter wahab
Ranch Hand
Posts: 151
Java MyEclipse IDE Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 20529
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out java.util.regex.Pattern, then tell us what you've come up with.
 
akhter wahab
Ranch Hand
Posts: 151
Java MyEclipse IDE Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i solved the problem
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic