#include <StringConstants.au3> ; to declare the Constants of StringRegExp
#include <Array.au3> ; UDF needed for _ArrayDisplay and _ArrayConcatenate
Local $sRegex = "(?msui)<time from="(?P<TimeFrom>[\dT:-]*)" to="(?P<TimeTo>[\dT:-]*)" period="\d">.*?(?P<symbol>symbol number="\d").*?\>.*?(?P<percipication>precipitation value="\d").*?\>.*?(?P<windSpeed>windSpeed mps="[\d\.]*").*?\>.*?</time>"
Local $sString = "<?xml version="1.0" encoding="utf-8"?>" & @CRLF & _
"<weatherdata>" & @CRLF & _
" <location>" & @CRLF & _
" <name>Rykkinn</name>" & @CRLF & _
" <type>Settlement</type>" & @CRLF & _
" <country>Norway</country>" & @CRLF & _
" <timezone id="Europe/Oslo" utcoffsetMinutes="120" />" & @CRLF & _
" <location altitude="106" latitude="59.9287412518508" longitude="10.4753151421641" geobase="ssr" geobaseid="2234308" />" & @CRLF & _
" </location>" & @CRLF & _
" <credit>" & @CRLF & _
" <!--In order to use the free weather data from yr no, you HAVE to display " & @CRLF & _
"the following text clearly visible on your web page. The text should be a " & @CRLF & _
"link to the specified URL.-->" & @CRLF & _
" <!--Please read more about our conditions and guidelines at http://om.yr.no/verdata/ English explanation at http://om.yr.no/verdata/free-weather-data/-->" & @CRLF & _
" <link text="Weather forecast from yr.no, delivered by the Norwegian Meteorological Institute and the NRK" url="http://www.yr.no/place/Norway/Akershus/Bærum/Rykkinn/" />" & @CRLF & _
" </credit>" & @CRLF & _
" <links>" & @CRLF & _
" <link id="xmlSource" url="http://www.yr.no/place/Norway/Akershus/Bærum/Rykkinn/forecast.xml" />" & @CRLF & _
" <link id="xmlSourceHourByHour" url="http://www.yr.no/place/Norway/Akershus/Bærum/Rykkinn/forecast_hour_by_hour.xml" />" & @CRLF & _
" <link id="overview" url="http://www.yr.no/place/Norway/Akershus/Bærum/Rykkinn/" />" & @CRLF & _
" <link id="hourByHour" url="http://www.yr.no/place/Norway/Akershus/Bærum/Rykkinn/hour_by_hour" />" & @CRLF & _
" <link id="longTermForecast" url="http://www.yr.no/place/Norway/Akershus/Bærum/Rykkinn/long" />" & @CRLF & _
" <link id="radar" url="http://www.yr.no/place/Norway/Akershus/Bærum/Rykkinn/radar.html" />" & @CRLF & _
" </links>" & @CRLF & _
" <meta>" & @CRLF & _
" <lastupdate>2015-09-29T10:33:00</lastupdate>" & @CRLF & _
" <nextupdate>2015-09-29T18:00:00</nextupdate>" & @CRLF & _
" </meta>" & @CRLF & _
" <sun rise="2015-09-29T07:17:49" set="2015-09-29T18:57:55" />" & @CRLF & _
" <forecast>" & @CRLF & _
" <text>" & @CRLF & _
" <location name="Rykkinn">" & @CRLF & _
" <time from="2015-09-29" to="2015-09-29">" & @CRLF & _
" <title>Tuesday</title>" & @CRLF & _
" <body><strong>Østlandet og Telemark:</strong> Sørvestlig bris, i ettermiddag forbigående liten kuling på kysten. Etter hvert stort sett pent vær.</body>" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-09-30" to="2015-09-30">" & @CRLF & _
" <title>Wednesday</title>" & @CRLF & _
" <body><strong>Østlandet:</strong> Vestlig eller skiftende bris. Stort sett pent vær, men om natten og først på dagen mulighet for lokal tåke.</body>" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-10-01" to="2015-10-01">" & @CRLF & _
" <title>Thursday</title>" & @CRLF & _
" <body><strong>Østafjells:</strong> Vestlig bris, liten kuling på kysten vest for Lindesnes. Oppholdsvær og perioder med sol.</body>" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-10-02" to="2015-10-02">" & @CRLF & _
" <title>Friday</title>" & @CRLF & _
" <body><strong>Østafjells:</strong> Vestlig bris, periodevis kuling på kysten vest for Lindesnes. Stort sett pent vær. Omtrent uendret temperatur.</body>" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-10-03" to="2015-10-04">" & @CRLF & _
" <title>Saturday and Sunday</title>" & @CRLF & _
" <body><strong>Østafjells og fjellet i Sør-Norge:</strong> Skiftende bris. Lørdag oppholdsvær og perioder med sol. Omtrent uendret temperatur. Søndag spredt regn. Litt lavere temperatur.</body>" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-10-05" to="2015-10-08">" & @CRLF & _
" <title>Monday to Thursday</title>" & @CRLF & _
" <body><strong>Sør-Norge:</strong> Høytrykket flytter seg østover og gir rom for mer ustabilt vær. Overveiende sørlig vind, perioder med kuling på kysten. Etterhvert perioder med nedbør. Litt lavere dagtemperaturer.</body>" & @CRLF & _
" </time>" & @CRLF & _
" </location>" & @CRLF & _
" </text>" & @CRLF & _
" <tabular>" & @CRLF & _
" <time from="2015-09-29T17:00:00" to="2015-09-29T18:00:00" period="2">" & @CRLF & _
" <!-- Valid from 2015-09-29T17:00:00 to 2015-09-29T18:00:00 -->" & @CRLF & _
" <symbol number="3" numberEx="3" name="Partly cloudy" var="03d" />" & @CRLF & _
" <precipitation value="0" />" & @CRLF & _
" <!-- Valid at 2015-09-29T17:00:00 -->" & @CRLF & _
" <windDirection deg="140.3" code="SE" name="Southeast" />" & @CRLF & _
" <windSpeed mps="1.5" name="Light air" />" & @CRLF & _
" <temperature unit="celsius" value="15" />" & @CRLF & _
" <pressure unit="hPa" value="1035.7" />" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-09-29T18:00:00" to="2015-09-30T00:00:00" period="3">" & @CRLF & _
" <!-- Valid from 2015-09-29T18:00:00 to 2015-09-30T00:00:00 -->" & @CRLF & _
" <symbol number="3" numberEx="3" name="Partly cloudy" var="mf/03n.53" />" & @CRLF & _
" <precipitation value="0" />" & @CRLF & _
" <!-- Valid at 2015-09-29T18:00:00 -->" & @CRLF & _
" <windDirection deg="132.5" code="SE" name="Southeast" />" & @CRLF & _
" <windSpeed mps="1.4" name="Light air" />" & @CRLF & _
" <temperature unit="celsius" value="14" />" & @CRLF & _
" <pressure unit="hPa" value="1035.3" />" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-09-30T00:00:00" to="2015-09-30T06:00:00" period="0">" & @CRLF & _
" <!-- Valid from 2015-09-30T00:00:00 to 2015-09-30T06:00:00 -->" & @CRLF & _
" <symbol number="3" numberEx="3" name="Partly cloudy" var="mf/03n.56" />" & @CRLF & _
" <precipitation value="0" />" & @CRLF & _
" <!-- Valid at 2015-09-30T00:00:00 -->" & @CRLF & _
" <windDirection deg="358.4" code="N" name="North" />" & @CRLF & _
" <windSpeed mps="2.0" name="Light breeze" />" & @CRLF & _
" <temperature unit="celsius" value="6" />" & @CRLF & _
" <pressure unit="hPa" value="1035.1" />" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-09-30T06:00:00" to="2015-09-30T12:00:00" period="1">" & @CRLF & _
" <!-- Valid from 2015-09-30T06:00:00 to 2015-09-30T12:00:00 -->" & @CRLF & _
" <symbol number="2" numberEx="2" name="Fair" var="02d" />" & @CRLF & _
" <precipitation value="0" />" & @CRLF & _
" <!-- Valid at 2015-09-30T06:00:00 -->" & @CRLF & _
" <windDirection deg="68.7" code="ENE" name="East-northeast" />" & @CRLF & _
" <windSpeed mps="0.6" name="Light air" />" & @CRLF & _
" <temperature unit="celsius" value="4" />" & @CRLF & _
" <pressure unit="hPa" value="1033.8" />" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-09-30T12:00:00" to="2015-09-30T18:00:00" period="2">" & @CRLF & _
" <!-- Valid from 2015-09-30T12:00:00 to 2015-09-30T18:00:00 -->" & @CRLF & _
" <symbol number="2" numberEx="2" name="Fair" var="02d" />" & @CRLF & _
" <precipitation value="0" />" & @CRLF & _
" <!-- Valid at 2015-09-30T12:00:00 -->" & @CRLF & _
" <windDirection deg="143.9" code="SE" name="Southeast" />" & @CRLF & _
" <windSpeed mps="1.1" name="Light air" />" & @CRLF & _
" <temperature unit="celsius" value="13" />" & @CRLF & _
" <pressure unit="hPa" value="1034.1" />" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-09-30T18:00:00" to="2015-10-01T00:00:00" period="3">" & @CRLF & _
" <!-- Valid from 2015-09-30T18:00:00 to 2015-10-01T00:00:00 -->" & @CRLF & _
" <symbol number="3" numberEx="3" name="Partly cloudy" var="mf/03n.56" />" & @CRLF & _
" <precipitation value="0" />" & @CRLF & _
" <!-- Valid at 2015-09-30T18:00:00 -->" & @CRLF & _
" <windDirection deg="129.3" code="SE" name="Southeast" />" & @CRLF & _
" <windSpeed mps="0.6" name="Light air" />" & @CRLF & _
" <temperature unit="celsius" value="15" />" & @CRLF & _
" <pressure unit="hPa" value="1030.6" />" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-10-01T00:00:00" to="2015-10-01T06:00:00" period="0">" & @CRLF & _
" <!-- Valid from 2015-10-01T00:00:00 to 2015-10-01T06:00:00 -->" & @CRLF & _
" <symbol number="3" numberEx="3" name="Partly cloudy" var="mf/03n.60" />" & @CRLF & _
" <precipitation value="0" />" & @CRLF & _
" <!-- Valid at 2015-10-01T00:00:00 -->" & @CRLF & _
" <windDirection deg="338.6" code="NNW" name="North-northwest" />" & @CRLF & _
" <windSpeed mps="1.6" name="Light breeze" />" & @CRLF & _
" <temperature unit="celsius" value="7" />" & @CRLF & _
" <pressure unit="hPa" value="1028.4" />" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-10-01T06:00:00" to="2015-10-01T12:00:00" period="1">" & @CRLF & _
" <!-- Valid from 2015-10-01T06:00:00 to 2015-10-01T12:00:00 -->" & @CRLF & _
" <symbol number="3" numberEx="3" name="Partly cloudy" var="03d" />" & @CRLF & _
" <precipitation value="0" />" & @CRLF & _
" <!-- Valid at 2015-10-01T06:00:00 -->" & @CRLF & _
" <windDirection deg="324.0" code="NW" name="Northwest" />" & @CRLF & _
" <windSpeed mps="2.5" name="Light breeze" />" & @CRLF & _
" <temperature unit="celsius" value="6" />" & @CRLF & _
" <pressure unit="hPa" value="1025.8" />" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-10-01T12:00:00" to="2015-10-01T18:00:00" period="2">" & @CRLF & _
" <!-- Valid from 2015-10-01T12:00:00 to 2015-10-01T18:00:00 -->" & @CRLF & _
" <symbol number="3" numberEx="3" name="Partly cloudy" var="03d" />" & @CRLF & _
" <precipitation value="0" />" & @CRLF & _
" <!-- Valid at 2015-10-01T12:00:00 -->" & @CRLF & _
" <windDirection deg="142.8" code="SE" name="Southeast" />" & @CRLF & _
" <windSpeed mps="1.3" name="Light air" />" & @CRLF & _
" <temperature unit="celsius" value="13" />" & @CRLF & _
" <pressure unit="hPa" value="1025.9" />" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-10-01T18:00:00" to="2015-10-02T00:00:00" period="3">" & @CRLF & _
" <!-- Valid from 2015-10-01T18:00:00 to 2015-10-02T00:00:00 -->" & @CRLF & _
" <symbol number="2" numberEx="2" name="Fair" var="mf/02n.60" />" & @CRLF & _
" <precipitation value="0" />" & @CRLF & _
" <!-- Valid at 2015-10-01T18:00:00 -->" & @CRLF & _
" <windDirection deg="270.6" code="W" name="West" />" & @CRLF & _
" <windSpeed mps="1.0" name="Light air" />" & @CRLF & _
" <temperature unit="celsius" value="16" />" & @CRLF & _
" <pressure unit="hPa" value="1023.2" />" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-10-02T02:00:00" to="2015-10-02T08:00:00" period="0">" & @CRLF & _
" <!-- Valid from 2015-10-02T02:00:00 to 2015-10-02T08:00:00 -->" & @CRLF & _
" <symbol number="4" numberEx="4" name="Cloudy" var="04" />" & @CRLF & _
" <precipitation value="0" />" & @CRLF & _
" <!-- Valid at 2015-10-02T02:00:00 -->" & @CRLF & _
" <windDirection deg="143.5" code="SE" name="Southeast" />" & @CRLF & _
" <windSpeed mps="0.4" name="Light air" />" & @CRLF & _
" <temperature unit="celsius" value="7" />" & @CRLF & _
" <pressure unit="hPa" value="1020.1" />" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-10-02T08:00:00" to="2015-10-02T14:00:00" period="1">" & @CRLF & _
" <!-- Valid from 2015-10-02T08:00:00 to 2015-10-02T14:00:00 -->" & @CRLF & _
" <symbol number="3" numberEx="3" name="Partly cloudy" var="03d" />" & @CRLF & _
" <precipitation value="0" />" & @CRLF & _
" <!-- Valid at 2015-10-02T08:00:00 -->" & @CRLF & _
" <windDirection deg="288.8" code="WNW" name="West-northwest" />" & @CRLF & _
" <windSpeed mps="1.7" name="Light breeze" />" & @CRLF & _
" <temperature unit="celsius" value="9" />" & @CRLF & _
" <pressure unit="hPa" value="1018.2" />" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-10-02T14:00:00" to="2015-10-02T20:00:00" period="2">" & @CRLF & _
" <!-- Valid from 2015-10-02T14:00:00 to 2015-10-02T20:00:00 -->" & @CRLF & _
" <symbol number="1" numberEx="1" name="Clear sky" var="01d" />" & @CRLF & _
" <precipitation value="0" />" & @CRLF & _
" <!-- Valid at 2015-10-02T14:00:00 -->" & @CRLF & _
" <windDirection deg="234.6" code="SW" name="Southwest" />" & @CRLF & _
" <windSpeed mps="1.6" name="Light breeze" />" & @CRLF & _
" <temperature unit="celsius" value="16" />" & @CRLF & _
" <pressure unit="hPa" value="1018.2" />" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-10-02T20:00:00" to="2015-10-03T02:00:00" period="3">" & @CRLF & _
" <!-- Valid from 2015-10-02T20:00:00 to 2015-10-03T02:00:00 -->" & @CRLF & _
" <symbol number="1" numberEx="1" name="Clear sky" var="mf/01n.63" />" & @CRLF & _
" <precipitation value="0" />" & @CRLF & _
" <!-- Valid at 2015-10-02T20:00:00 -->" & @CRLF & _
" <windDirection deg="231.8" code="SW" name="Southwest" />" & @CRLF & _
" <windSpeed mps="1.7" name="Light breeze" />" & @CRLF & _
" <temperature unit="celsius" value="13" />" & @CRLF & _
" <pressure unit="hPa" value="1017.4" />" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-10-03T02:00:00" to="2015-10-03T08:00:00" period="0">" & @CRLF & _
" <!-- Valid from 2015-10-03T02:00:00 to 2015-10-03T08:00:00 -->" & @CRLF & _
" <symbol number="3" numberEx="3" name="Partly cloudy" var="mf/03n.66" />" & @CRLF & _
" <precipitation value="0" />" & @CRLF & _
" <!-- Valid at 2015-10-03T02:00:00 -->" & @CRLF & _
" <windDirection deg="336.2" code="NNW" name="North-northwest" />" & @CRLF & _
" <windSpeed mps="1.6" name="Light breeze" />" & @CRLF & _
" <temperature unit="celsius" value="10" />" & @CRLF & _
" <pressure unit="hPa" value="1018.5" />" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-10-03T08:00:00" to="2015-10-03T14:00:00" period="1">" & @CRLF & _
" <!-- Valid from 2015-10-03T08:00:00 to 2015-10-03T14:00:00 -->" & @CRLF & _
" <symbol number="3" numberEx="3" name="Partly cloudy" var="03d" />" & @CRLF & _
" <precipitation value="0" />" & @CRLF & _
" <!-- Valid at 2015-10-03T08:00:00 -->" & @CRLF & _
" <windDirection deg="332.3" code="NNW" name="North-northwest" />" & @CRLF & _
" <windSpeed mps="1.5" name="Light air" />" & @CRLF & _
" <temperature unit="celsius" value="8" />" & @CRLF & _
" <pressure unit="hPa" value="1019.1" />" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-10-03T14:00:00" to="2015-10-03T20:00:00" period="2">" & @CRLF & _
" <!-- Valid from 2015-10-03T14:00:00 to 2015-10-03T20:00:00 -->" & @CRLF & _
" <symbol number="3" numberEx="3" name="Partly cloudy" var="03d" />" & @CRLF & _
" <precipitation value="0" />" & @CRLF & _
" <!-- Valid at 2015-10-03T14:00:00 -->" & @CRLF & _
" <windDirection deg="26.6" code="NNE" name="North-northeast" />" & @CRLF & _
" <windSpeed mps="1.2" name="Light air" />" & @CRLF & _
" <temperature unit="celsius" value="13" />" & @CRLF & _
" <pressure unit="hPa" value="1019.9" />" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-10-03T20:00:00" to="2015-10-04T02:00:00" period="3">" & @CRLF & _
" <!-- Valid from 2015-10-03T20:00:00 to 2015-10-04T02:00:00 -->" & @CRLF & _
" <symbol number="4" numberEx="4" name="Cloudy" var="04" />" & @CRLF & _
" <precipitation value="0" />" & @CRLF & _
" <!-- Valid at 2015-10-03T20:00:00 -->" & @CRLF & _
" <windDirection deg="153.9" code="SSE" name="South-southeast" />" & @CRLF & _
" <windSpeed mps="1.5" name="Light air" />" & @CRLF & _
" <temperature unit="celsius" value="11" />" & @CRLF & _
" <pressure unit="hPa" value="1019.4" />" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-10-04T02:00:00" to="2015-10-04T08:00:00" period="0">" & @CRLF & _
" <!-- Valid from 2015-10-04T02:00:00 to 2015-10-04T08:00:00 -->" & @CRLF & _
" <symbol number="4" numberEx="4" name="Cloudy" var="04" />" & @CRLF & _
" <precipitation value="0" />" & @CRLF & _
" <!-- Valid at 2015-10-04T02:00:00 -->" & @CRLF & _
" <windDirection deg="115.6" code="ESE" name="East-southeast" />" & @CRLF & _
" <windSpeed mps="1.5" name="Light air" />" & @CRLF & _
" <temperature unit="celsius" value="10" />" & @CRLF & _
" <pressure unit="hPa" value="1019.1" />" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-10-04T08:00:00" to="2015-10-04T14:00:00" period="1">" & @CRLF & _
" <!-- Valid from 2015-10-04T08:00:00 to 2015-10-04T14:00:00 -->" & @CRLF & _
" <symbol number="4" numberEx="4" name="Cloudy" var="04" />" & @CRLF & _
" <precipitation value="0" />" & @CRLF & _
" <!-- Valid at 2015-10-04T08:00:00 -->" & @CRLF & _
" <windDirection deg="163.6" code="SSE" name="South-southeast" />" & @CRLF & _
" <windSpeed mps="1.2" name="Light air" />" & @CRLF & _
" <temperature unit="celsius" value="10" />" & @CRLF & _
" <pressure unit="hPa" value="1017.7" />" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-10-04T14:00:00" to="2015-10-04T20:00:00" period="2">" & @CRLF & _
" <!-- Valid from 2015-10-04T14:00:00 to 2015-10-04T20:00:00 -->" & @CRLF & _
" <symbol number="4" numberEx="4" name="Cloudy" var="04" />" & @CRLF & _
" <precipitation value="0" />" & @CRLF & _
" <!-- Valid at 2015-10-04T14:00:00 -->" & @CRLF & _
" <windDirection deg="163.7" code="SSE" name="South-southeast" />" & @CRLF & _
" <windSpeed mps="1.1" name="Light air" />" & @CRLF & _
" <temperature unit="celsius" value="11" />" & @CRLF & _
" <pressure unit="hPa" value="1017.7" />" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-10-04T20:00:00" to="2015-10-05T02:00:00" period="3">" & @CRLF & _
" <!-- Valid from 2015-10-04T20:00:00 to 2015-10-05T02:00:00 -->" & @CRLF & _
" <symbol number="4" numberEx="4" name="Cloudy" var="04" />" & @CRLF & _
" <precipitation value="0" />" & @CRLF & _
" <!-- Valid at 2015-10-04T20:00:00 -->" & @CRLF & _
" <windDirection deg="351.4" code="N" name="North" />" & @CRLF & _
" <windSpeed mps="1.2" name="Light air" />" & @CRLF & _
" <temperature unit="celsius" value="11" />" & @CRLF & _
" <pressure unit="hPa" value="1016.5" />" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-10-05T02:00:00" to="2015-10-05T08:00:00" period="0">" & @CRLF & _
" <!-- Valid from 2015-10-05T02:00:00 to 2015-10-05T08:00:00 -->" & @CRLF & _
" <symbol number="4" numberEx="4" name="Cloudy" var="04" />" & @CRLF & _
" <precipitation value="0" />" & @CRLF & _
" <!-- Valid at 2015-10-05T02:00:00 -->" & @CRLF & _
" <windDirection deg="174.1" code="S" name="South" />" & @CRLF & _
" <windSpeed mps="1.2" name="Light air" />" & @CRLF & _
" <temperature unit="celsius" value="10" />" & @CRLF & _
" <pressure unit="hPa" value="1016.0" />" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-10-05T08:00:00" to="2015-10-05T14:00:00" period="1">" & @CRLF & _
" <!-- Valid from 2015-10-05T08:00:00 to 2015-10-05T14:00:00 -->" & @CRLF & _
" <symbol number="4" numberEx="4" name="Cloudy" var="04" />" & @CRLF & _
" <precipitation value="0" />" & @CRLF & _
" <!-- Valid at 2015-10-05T08:00:00 -->" & @CRLF & _
" <windDirection deg="225.4" code="SW" name="Southwest" />" & @CRLF & _
" <windSpeed mps="1.2" name="Light air" />" & @CRLF & _
" <temperature unit="celsius" value="10" />" & @CRLF & _
" <pressure unit="hPa" value="1015.1" />" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-10-05T14:00:00" to="2015-10-05T20:00:00" period="2">" & @CRLF & _
" <!-- Valid from 2015-10-05T14:00:00 to 2015-10-05T20:00:00 -->" & @CRLF & _
" <symbol number="4" numberEx="4" name="Cloudy" var="04" />" & @CRLF & _
" <precipitation value="0" />" & @CRLF & _
" <!-- Valid at 2015-10-05T14:00:00 -->" & @CRLF & _
" <windDirection deg="66.5" code="ENE" name="East-northeast" />" & @CRLF & _
" <windSpeed mps="1.8" name="Light breeze" />" & @CRLF & _
" <temperature unit="celsius" value="11" />" & @CRLF & _
" <pressure unit="hPa" value="1015.2" />" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-10-05T20:00:00" to="2015-10-06T02:00:00" period="3">" & @CRLF & _
" <!-- Valid from 2015-10-05T20:00:00 to 2015-10-06T02:00:00 -->" & @CRLF & _
" <symbol number="4" numberEx="4" name="Cloudy" var="04" />" & @CRLF & _
" <precipitation value="0" />" & @CRLF & _
" <!-- Valid at 2015-10-05T20:00:00 -->" & @CRLF & _
" <windDirection deg="124.9" code="SE" name="Southeast" />" & @CRLF & _
" <windSpeed mps="1.4" name="Light air" />" & @CRLF & _
" <temperature unit="celsius" value="10" />" & @CRLF & _
" <pressure unit="hPa" value="1014.4" />" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-10-06T02:00:00" to="2015-10-06T08:00:00" period="0">" & @CRLF & _
" <!-- Valid from 2015-10-06T02:00:00 to 2015-10-06T08:00:00 -->" & @CRLF & _
" <symbol number="9" numberEx="9" name="Rain" var="09" />" & @CRLF & _
" <precipitation value="2.4" />" & @CRLF & _
" <!-- Valid at 2015-10-06T02:00:00 -->" & @CRLF & _
" <windDirection deg="61.0" code="ENE" name="East-northeast" />" & @CRLF & _
" <windSpeed mps="2.3" name="Light breeze" />" & @CRLF & _
" <temperature unit="celsius" value="11" />" & @CRLF & _
" <pressure unit="hPa" value="1010.5" />" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-10-06T08:00:00" to="2015-10-06T14:00:00" period="1">" & @CRLF & _
" <!-- Valid from 2015-10-06T08:00:00 to 2015-10-06T14:00:00 -->" & @CRLF & _
" <symbol number="9" numberEx="9" name="Rain" var="09" />" & @CRLF & _
" <precipitation value="2.8" />" & @CRLF & _
" <!-- Valid at 2015-10-06T08:00:00 -->" & @CRLF & _
" <windDirection deg="77.9" code="ENE" name="East-northeast" />" & @CRLF & _
" <windSpeed mps="2.4" name="Light breeze" />" & @CRLF & _
" <temperature unit="celsius" value="11" />" & @CRLF & _
" <pressure unit="hPa" value="1004.4" />" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-10-06T14:00:00" to="2015-10-06T20:00:00" period="2">" & @CRLF & _
" <!-- Valid from 2015-10-06T14:00:00 to 2015-10-06T20:00:00 -->" & @CRLF & _
" <symbol number="4" numberEx="4" name="Cloudy" var="04" />" & @CRLF & _
" <precipitation value="0" />" & @CRLF & _
" <!-- Valid at 2015-10-06T14:00:00 -->" & @CRLF & _
" <windDirection deg="103.5" code="ESE" name="East-southeast" />" & @CRLF & _
" <windSpeed mps="2.6" name="Light breeze" />" & @CRLF & _
" <temperature unit="celsius" value="12" />" & @CRLF & _
" <pressure unit="hPa" value="1014.0" />" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-10-06T20:00:00" to="2015-10-07T02:00:00" period="3">" & @CRLF & _
" <!-- Valid from 2015-10-06T20:00:00 to 2015-10-07T02:00:00 -->" & @CRLF & _
" <symbol number="9" numberEx="9" name="Rain" var="09" />" & @CRLF & _
" <precipitation value="2.4" />" & @CRLF & _
" <!-- Valid at 2015-10-06T20:00:00 -->" & @CRLF & _
" <windDirection deg="169.5" code="S" name="South" />" & @CRLF & _
" <windSpeed mps="3.5" name="Gentle breeze" />" & @CRLF & _
" <temperature unit="celsius" value="12" />" & @CRLF & _
" <pressure unit="hPa" value="1009.2" />" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-10-07T02:00:00" to="2015-10-07T08:00:00" period="0">" & @CRLF & _
" <!-- Valid from 2015-10-07T02:00:00 to 2015-10-07T08:00:00 -->" & @CRLF & _
" <symbol number="4" numberEx="4" name="Cloudy" var="04" />" & @CRLF & _
" <precipitation value="0" />" & @CRLF & _
" <!-- Valid at 2015-10-07T02:00:00 -->" & @CRLF & _
" <windDirection deg="87.2" code="E" name="East" />" & @CRLF & _
" <windSpeed mps="1.8" name="Light breeze" />" & @CRLF & _
" <temperature unit="celsius" value="11" />" & @CRLF & _
" <pressure unit="hPa" value="1015.2" />" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-10-07T08:00:00" to="2015-10-07T14:00:00" period="1">" & @CRLF & _
" <!-- Valid from 2015-10-07T08:00:00 to 2015-10-07T14:00:00 -->" & @CRLF & _
" <symbol number="4" numberEx="4" name="Cloudy" var="04" />" & @CRLF & _
" <precipitation value="0" />" & @CRLF & _
" <!-- Valid at 2015-10-07T08:00:00 -->" & @CRLF & _
" <windDirection deg="85.0" code="E" name="East" />" & @CRLF & _
" <windSpeed mps="1.7" name="Light breeze" />" & @CRLF & _
" <temperature unit="celsius" value="10" />" & @CRLF & _
" <pressure unit="hPa" value="1014.6" />" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-10-07T14:00:00" to="2015-10-07T20:00:00" period="2">" & @CRLF & _
" <!-- Valid from 2015-10-07T14:00:00 to 2015-10-07T20:00:00 -->" & @CRLF & _
" <symbol number="4" numberEx="4" name="Cloudy" var="04" />" & @CRLF & _
" <precipitation value="0" />" & @CRLF & _
" <!-- Valid at 2015-10-07T14:00:00 -->" & @CRLF & _
" <windDirection deg="302.4" code="WNW" name="West-northwest" />" & @CRLF & _
" <windSpeed mps="2.3" name="Light breeze" />" & @CRLF & _
" <temperature unit="celsius" value="12" />" & @CRLF & _
" <pressure unit="hPa" value="1016.6" />" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-10-07T20:00:00" to="2015-10-08T02:00:00" period="3">" & @CRLF & _
" <!-- Valid from 2015-10-07T20:00:00 to 2015-10-08T02:00:00 -->" & @CRLF & _
" <symbol number="9" numberEx="9" name="Rain" var="09" />" & @CRLF & _
" <precipitation value="2.1" />" & @CRLF & _
" <!-- Valid at 2015-10-07T20:00:00 -->" & @CRLF & _
" <windDirection deg="111.2" code="ESE" name="East-southeast" />" & @CRLF & _
" <windSpeed mps="3.0" name="Light breeze" />" & @CRLF & _
" <temperature unit="celsius" value="12" />" & @CRLF & _
" <pressure unit="hPa" value="1009.5" />" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-10-08T02:00:00" to="2015-10-08T08:00:00" period="0">" & @CRLF & _
" <!-- Valid from 2015-10-08T02:00:00 to 2015-10-08T08:00:00 -->" & @CRLF & _
" <symbol number="4" numberEx="4" name="Cloudy" var="04" />" & @CRLF & _
" <precipitation value="0" />" & @CRLF & _
" <!-- Valid at 2015-10-08T02:00:00 -->" & @CRLF & _
" <windDirection deg="283.1" code="WNW" name="West-northwest" />" & @CRLF & _
" <windSpeed mps="1.7" name="Light breeze" />" & @CRLF & _
" <temperature unit="celsius" value="11" />" & @CRLF & _
" <pressure unit="hPa" value="1012.4" />" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-10-08T08:00:00" to="2015-10-08T14:00:00" period="1">" & @CRLF & _
" <!-- Valid from 2015-10-08T08:00:00 to 2015-10-08T14:00:00 -->" & @CRLF & _
" <symbol number="4" numberEx="4" name="Cloudy" var="04" />" & @CRLF & _
" <precipitation value="0" />" & @CRLF & _
" <!-- Valid at 2015-10-08T08:00:00 -->" & @CRLF & _
" <windDirection deg="4.6" code="N" name="North" />" & @CRLF & _
" <windSpeed mps="1.8" name="Light breeze" />" & @CRLF & _
" <temperature unit="celsius" value="11" />" & @CRLF & _
" <pressure unit="hPa" value="1014.3" />" & @CRLF & _
" </time>" & @CRLF & _
" <time from="2015-10-08T14:00:00" to="2015-10-08T20:00:00" period="2">" & @CRLF & _
" <!-- Valid from 2015-10-08T14:00:00 to 2015-10-08T20:00:00 -->" & @CRLF & _
" <symbol number="4" numberEx="4" name="Cloudy" var="04" />" & @CRLF & _
" <precipitation value="0" />" & @CRLF & _
" <!-- Valid at 2015-10-08T14:00:00 -->" & @CRLF & _
" <windDirection deg="150.2" code="SSE" name="South-southeast" />" & @CRLF & _
" <windSpeed mps="2.3" name="Light breeze" />" & @CRLF & _
" <temperature unit="celsius" value="12" />" & @CRLF & _
" <pressure unit="hPa" value="1017.7" />" & @CRLF & _
" </time>" & @CRLF & _
" </tabular>" & @CRLF & _
" </forecast>" & @CRLF & _
" <observations>" & @CRLF & _
" <weatherstation stno="19710" sttype="eklima" name="Asker (Sem)" distance="8384" lat="59.85620" lon="10.43450" source="Meteorologisk Institutt">" & @CRLF & _
" <temperature unit="celsius" value="16.2" time="2015-09-29T14:00:00Z" />" & @CRLF & _
" </weatherstation>" & @CRLF & _
" <weatherstation stno="18815" sttype="eklima" name="Bygdøy" distance="11865" lat="59.90500" lon="10.68280" source="Meteorologisk Institutt">" & @CRLF & _
" <temperature unit="celsius" value="16.7" time="2015-09-29T14:00:00Z" />" & @CRLF & _
" </weatherstation>" & @CRLF & _
" <weatherstation stno="18950" sttype="eklima" name="Tryvannshøgda" distance="12467" lat="59.98470" lon="10.66930" source="Meteorologisk Institutt">" & @CRLF & _
" <temperature unit="celsius" value="12.5" time="2015-09-29T14:00:00Z" />" & @CRLF & _
" <windDirection deg="186.0" code="S" name="South" time="2015-09-29T14:00:00Z" />" & @CRLF & _
" <windSpeed mps="4.0" name="Gentle breeze" time="2015-09-29T14:00:00Z" />" & @CRLF & _
" </weatherstation>" & @CRLF & _
" </observations>" & @CRLF & _
"</weatherdata>"
Local $aArray = StringRegExp($sString, $sRegex, $STR_REGEXPARRAYGLOBALFULLMATCH)
Local $aFullArray[0]
For $i = 0 To UBound($aArray) -1
_ArrayConcatenate($aFullArray, $aArray[$i])
Next
$aArray = $aFullArray
; Present the entire match result
_ArrayDisplay($aArray, "Result")
Please keep in mind that these code samples are automatically generated and are not guaranteed to work. If you find any syntax errors, feel free to submit a bug report. For a full regex reference for AutoIt, please visit: https://www.autoitscript.com/autoit3/docs/functions/StringRegExp.htm