[wtr-general] Re: Getting text between two br / tags

2009-07-30 Thread Aaron MacDonald
in the br / tags. My real code uses br in place of br/. - Aaron -Original Message- From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On Behalf Of Mark Anderson Sent: July 29, 2009 6:11 PM To: watir-general@googlegroups.com Subject: [wtr-general] Re: Getting text

[wtr-general] Re: Getting text between two br / tags

2009-07-29 Thread Dylan
Well, if the only text that is variable is the text within the a/a tags, are there any identifying marks for that link? an id? Otherwise, I suppose you could just get the text for the whole page and subtract the text you already know (i.e. the non-variable text). Not pretty or elegant, but it

[wtr-general] Re: Getting text between two br / tags

2009-07-29 Thread Mark Anderson
There is a line of text that I want to extract. It is found in some HTML that follows this pattern: a href=...img src=...//abr/ !-- An image link -- Some text br/ a href=...Another link (variable text)/a br/ Text I want to extract. br/ Updated by a href=...name (variable)/a X