Two Laptop Bag*
The moose likes JDBC and the fly likes String! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Reply locked New topic
Author

String!

Sridhar Srinivasan
Ranch Hand

Joined: Nov 07, 2003
Posts: 117
Hi!
I have a String as follows:
String ss="<p>hh</p> nbsp;<input type=text name=s value=aa>  <p>jj</p><b>kk</b><input type=textarea name=y>";
I need to get the name and type of each of the input tags as follows:
name s type text
name y type textarea
How to get this?Can anybody help please? Thanks.


Software_guy
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
Please don't post the same message in more than one forum, especially in forums which are nothing to do with the message (such as JDBC).
This one has been answered in the JSP forum, so I have closed it here.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: String!