Source extract help

37ce7aa49c fd5 .v&amp; cs=i.s.d.n.c.rat.1.8"><img class="icn centre" src="pict/imti.svg" alt="im (captured this from your screenshot with Copyfish)

If you google “Regex Match all characters between two strings” you will find many solutions. Below I used lookbehind (?<=) and look ahead (?=). See here: regex101: build, test, and debug regex

The test macros below run on this forum post:

Note: When using this regular expression inside UI Vision I had to replace the " from the formula with &quot; then it works fine:

{
  "Name": "regex1",
  "CreationDate": "2021-3-15",
  "Commands": [
    {
      "Command": "open",
      "Target": "https://forum.ui.vision/t/source-extract-help/7168/2",
      "Value": ""
    },
    {
      "Command": "sourceExtract",
      "Target": "regex=(?<=i.s.d.n.c.)(.*)(?=&quot;><img)",
      "Value": "r"
    },
    {
      "Command": "echo",
      "Target": "r=${r}",
      "Value": "blue"
    }
  ]
}

The second macro below works also. But it uses only the easier regex=i.s.d.n.c.(.*)><img regex. Thus you must use split string to remove the parts that you do not need:

{
  "Name": "regex1",
  "CreationDate": "2021-3-15",
  "Commands": [
    {
      "Command": "open",
      "Target": "https://forum.ui.vision/t/source-extract-help/7168/2",
      "Value": ""
    },
    {
      "Command": "sourceExtract",
      "Target": "regex=i.s.d.n.c.(.*)><img",
      "Value": "r"
    },
    {
      "Command": "echo",
      "Target": "r=${r}",
      "Value": "blue"
    }
  ]
}