> The only way I
> know to grab the title from prior experience is to use regex to parse it
> from
> the document. I have done this many times before in Perl but I am a newbie
> to
> Java so I am afraid I cannot help you with that one. In Perl the regex
> expression would look like this -
>
> $gallery =~ m/< *title *>([^<>]*)< *\/title *>/i;
>

Look at http://www.cacas.org/~wes/java/ Support for reg-exps in Java. I hope
you'll find of some help :)

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page from News and Sport to Email and Music 
Charts
http://uk.my.yahoo.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to