Need regex to find a tag...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gsuns82
    New Member
    • Mar 2007
    • 58

    #1

    Need regex to find a tag...

    Hi all,
    I am using Pattern.compile ("<option([\\s+=a-z]*)") in order fetch
    the following value <option value="new-new">Neuf</option>.
    Can any one suggest me a regex which will fetch the
    "<option value="new-new">Neuf</option>" value from the response form.???

    Note:I got "value=" as a result for the regex
    Pattern.compile ("<option([\\s+=a-z]*)").

    Thanks&Regards,
    sundar
Working...