Parsing HTML fields
From: VI (VI_at_invent.co.uk)
Date: 03/11/04
- Next message: FISH: "Re: simple i think"
- Previous message: Markos Charatzas: "Servlet Design"
- Next in thread: Collin VanDyck: "Re: Parsing HTML fields"
- Reply: Collin VanDyck: "Re: Parsing HTML fields"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 11 Mar 2004 10:10:49 +0000
Hi all,
I've got some HTML text in the form of a String. From this I want to
collect all the names, types and values.
e.g. <input type="checkbox" name="homepage" value="Y">
There will be many more of these in one string with the possibility of
more that one type (e.g. checkbox and textfield).
I know how to do this the long-winded way (using String/StringBuffer
methods), but I'm sure there is a neater way using the regex package or
StringTokenizer or the like?
I was wondering if anyone had any ideas?
Cheers
VI
- Next message: FISH: "Re: simple i think"
- Previous message: Markos Charatzas: "Servlet Design"
- Next in thread: Collin VanDyck: "Re: Parsing HTML fields"
- Reply: Collin VanDyck: "Re: Parsing HTML fields"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|