Try this as some white space was not space
[{"id":"d88dd470.0ac7b8","type":"inject","z":"b779de97.b1b46","name":"make request","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":"","topic":"","payloadType":"date","x":140,"y":4900,"wires":[["874a3d4e.9b666"]]},{"id":"874a3d4e.9b666","type":"http request","z":"b779de97.b1b46","name":"","method":"GET","ret":"txt","paytoqs":"ignore","url":"http://www.statarea.com/predictions/date/2021-11-01/starttime","tls":"","persist":false,"proxy":"","authType":"","x":140,"y":4950,"wires":[["a4684d13.279d9"]]},{"id":"a4684d13.279d9","type":"html","z":"b779de97.b1b46","name":"EPL","property":"payload","outproperty":"payload","tag":"div>[id='010827']","ret":"text","as":"multi","x":330,"y":4900,"wires":[["db4a77d111714b53"]]},{"id":"db4a77d111714b53","type":"change","z":"b779de97.b1b46","name":"Change","rules":[{"t":"change","p":"payload","pt":"msg","from":"your","fromt":"str","to":",your","tot":"str"},{"t":"change","p":"payload","pt":"msg","from":"prediction","fromt":"str","to":"prediction,","tot":"str"},{"t":"change","p":"payload","pt":"msg","from":"LEAGUE","fromt":"str","to":"LEAGUE,","tot":"str"},{"t":"change","p":"payload","pt":"msg","from":"TIP","fromt":"str","to":"TIP,","tot":"str"},{"t":"change","p":"payload","pt":"msg","from":"1X2H1HXH21.52.53.5BTSOTS","fromt":"str","to":",1X2H1HXH21.52.53.5BTSOTS,","tot":"str"},{"t":"change","p":"payload","pt":"msg","from":"close","fromt":"str","to":",close","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":320,"y":4950,"wires":[["b45b7cdf7ba8e354"]]},{"id":"b45b7cdf7ba8e354","type":"change","z":"b779de97.b1b46","name":"Build array","rules":[{"t":"set","p":"payload","pt":"msg","to":"$split(payload,',')","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":480,"y":4950,"wires":[["600f6ed3a3db3390"]]},{"id":"600f6ed3a3db3390","type":"change","z":"b779de97.b1b46","name":"Change","rules":[{"t":"delete","p":"payload[0]","pt":"msg"},{"t":"delete","p":"payload[0]","pt":"msg"},{"t":"delete","p":"payload[0]","pt":"msg"},{"t":"delete","p":"payload[1]","pt":"msg"},{"t":"delete","p":"payload[1]","pt":"msg"},{"t":"delete","p":"payload[2]","pt":"msg"},{"t":"delete","p":"payload[3]","pt":"msg"},{"t":"delete","p":"payload[3]","pt":"msg"},{"t":"change","p":"payload[0]","pt":"msg","from":"ENGLAND","fromt":"str","to":"England","tot":"str"},{"t":"change","p":"payload[0]","pt":"msg","from":"PREMIER LEAGUE","fromt":"str","to":"Premier League","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":490,"y":4900,"wires":[["463609ef.34eb38","242e92f4e3188b31"]]},{"id":"463609ef.34eb38","type":"change","z":"b779de97.b1b46","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"(\t $bits0 := $split(payload[0], \"-\").$trim($);\t $bits1 := [\t $append(\t $split(payload[1], /(-|\\s)+/)[[0..4]],\t $split(payload[1], \"-\")[[3,4]]\t )\t ].$trim($);\t $bits2 := [$match(payload[2], /\\d\\d/)].match;\t {\t \"country\": $bits0[0],\t \"league\": $bits0[1],\t \"number\": $bits1[0],\t \"date\": $bits1[1] & \"-\" & $bits1[2] & \"-\" & $bits1[3],\t \"time\": $bits1[4],\t \"timestamp\": $bits1[1] & \"-\" & $bits1[2] & \"-\" & $bits1[3] &\"T\" & $bits1[4] & \":00.000Z\",\t \"homeTeam\": $bits1[5],\t \"awayTeam\": $bits1[6],\t \"home\": $bits2[0],\t \"draw\": $bits2[1],\t \"away\": $bits2[2],\t \"HT1\": $bits2[3],\t \"HTX\": $bits2[4],\t \"HT2\": $bits2[5],\t \"o1.5\": $bits2[6],\t \"o2.5\": $bits2[7],\t \"o3.5\": $bits2[8],\t \"bts\": $bits2[9],\t \"ots\": $bits2[10]\t }\t\t)","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":720,"y":4960,"wires":[["609933cde0b38546"]]},{"id":"242e92f4e3188b31","type":"function","z":"b779de97.b1b46","name":"","func":"let [countryLeague, data, id] = msg.payload;\nlet countryLeagueParts = countryLeague.split(\" - \");\nlet country = countryLeagueParts[0].trim();\nlet league = countryLeagueParts[1].trim();\nlet number = (data.slice(0,2));\nlet date = new Date(data.slice(3,19));\nlet teams = data.slice(20).split(\"-\");\n\nmsg.payload = {\n country,\n league,\n number,\n date,\n homeTeam: teams[0],\n awayTeam: teams[1],\n}\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":710,"y":4900,"wires":[["04848441442b51d5"]]},{"id":"609933cde0b38546","type":"debug","z":"b779de97.b1b46","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":960,"y":4970,"wires":[]},{"id":"04848441442b51d5","type":"debug","z":"b779de97.b1b46","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":960,"y":4900,"wires":[]}]