How to extract this text from saved html source



  • How to extract this text from saved html, the desired text is highlighted in green

    test1.PNG

    "dtsg_ag":{"token":"AQyhsl2aifqSJ4SfYewLsRQTm8vO646e0JBLQd9N3z7PhR4v:27:1657573672","valid_for":604800,"expire":1660662721}
    


    1. It is in json notation, so you could use json path
    2. You can use regex to extract desired text
    3. You can use built in BAS action "Get substring between" >
      Left substring
    "token":"
    

    Right substring

    ","valid_for"
    

Log in to reply