Welcome to Dream.In.Code
Become a Java Expert!

Join 149,521 Java Programmers for FREE! Get instant access to thousands of Java experts, tutorials, code snippets, and more! There are 1,388 people online right now. Registration is fast and FREE... Join Now!




Scanner

 
Reply to this topicStart new topic

Scanner, Start Delimiter / End Delimiter

clatcho
23 May, 2007 - 12:09 PM
Post #1

New D.I.C Head
*

Joined: 14 Feb, 2007
Posts: 32


My Contributions
Hi,

I am wondering, with a scanner object is it possible to define an End delimter ?

for example say you have the contents of any web-page in a txt file, like you would see if you view the source of this page.

now what i want to do is pull all the links out a page.

I have tried various idea's with some sucsess, it would be great if there was a way to say :

start delimter - <a href

end delimiter - </a>

Any ideas ?


User is offlineProfile CardPM
+Quote Post

clatcho
RE: Scanner
23 May, 2007 - 12:14 PM
Post #2

New D.I.C Head
*

Joined: 14 Feb, 2007
Posts: 32


My Contributions
Doesnt matter, got it sorted,

should have really tried that art of searching google myself

cheers anyway
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/7/09 08:30PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Java Help!

Java Tutorials

Reference Sheets

Java Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month