Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Searching web page by line

From: David_A_Brown::vanguard::com at: 6-May-2003 11:06

I am trying to search a web page and if I find two strings on the same line of html text perform an action: I've tried page: read /lines if find page "string1" and "string2" [write %file page] and page: read /lines if find page "string1" [ if find page "string2" [ write %file page ] ] I have a related question. How do you search sequentially thru a web page and set a Boolean value if you encounter a string then do an action if you find another string later. Thanks.