1. Download our Official Android App: Forums for Android!

Find text on a webpage

Discussion in 'Android Apps & Games' started by outzen, Aug 3, 2016.

  1. outzen

    outzen Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Aug 3, 2016

    Aug 3, 2016
    1
    0
    5
    Male
    Hi
    I'm trying to download a page containing at some place the string :"Offline" or :"Online" and to find if it is :"Online" now.

    I'v tried with
    Downloading the page into a file, with: Http Get
    Read downloadad file, with: Read file into %res
    -so far it's okay, but searching for :"Online" using Variable Searche and replace - not so okay

    Sat "Variable" to %res
    Search .*Online.*
    Ignore case
    multi-Line (its on about line 43)
    Store match in %res1

    Popup %res1 just show the literally "%res1"
     

    Advertisement

  2. Thom

    Thom  
    VIP Member
    Rank:
     #21
    Points:
    1,318
    Posts:
    12,016
    Joined:
    Feb 16, 2011

    Feb 16, 2011
    12,016
    4,978
    1,318
    Male
    Software Developer
    Keene, NH USA
    Welcome to Android Forums.

    Go to the top level in Tasks
    Long press on the task of interest
    Press three dots
    Press export
    Press Description to Clipboard

    Paste into message and post it here.

    ... Thom
     

Share This Page

Loading...